Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How Efficient is it to use QWidgets in QGraphicsScene via the QGraphicsProxyWidget Functionality?
oracle3001 last edited by
From what I understand QGraphicsScene is designed to be able to draw 1000's of items on a 2D canvas that can be animated and interacted with.
The way in which you can incorporate a say a "panel" of QWidgets, which has a layout e.g box, into the QGraphicsScene is via the QGraphicsProxyWidget functionality.
How efficient is this method? This is a lot of extra overhead by the fact you are adding QWidgets into the scene in this way?
Yes, It is. You need to use adding the QWidgets to GraphicsScene only in unavoidable cases.