hi all,

I'd like to get rid of the border around the QGraphicsView if I setup a QDialog or QWidget as follows:
Qt Code:
  1. TestDialog::TestDialog(QWidget *parent)
  2. : QDialog(parent)
  3. {
  4. QGraphicsView *view = new QGraphicsView(this);
  5. QHBoxLayout *centerLayout = new QHBoxLayout;
  6. centerLayout->addWidget(view);
  7. setLayout(centerLayout);
  8. }
To copy to clipboard, switch view to plain text mode 

this image shows, what I mean:


regards