What are you doing with the layout after adding QGraphicsView ? You need to set it on a widget:
Qt Code:
layout->addWidget(view); w->setLayout(layout); w->show();To copy to clipboard, switch view to plain text mode
What are you doing with the layout after adding QGraphicsView ? You need to set it on a widget:
Qt Code:
layout->addWidget(view); w->setLayout(layout); w->show();To copy to clipboard, switch view to plain text mode
Bookmarks