You need to create your own widget or graphics item (as you should probably use Graphics View and not widgets).
You need to create your own widget or graphics item (as you should probably use Graphics View and not widgets).
Thanks for your reply!
I have a custom PaintArea that extends from QWidget.
With the QGraphicsView, I can only display QGraphicsScene Objects and not the PaintArea, right?
It's a matter of choosing the base class for your PaintArea. You can derive it from QGraphicsWidget instead of QWidget.
Bookmarks