How can i put some controls or layout on a QGraphicsItem?
opengpu last edited by
how can i put some controls or layout on a QGraphicsItem?
and on the QGraphicsItem's area which is not covered by the controls/layout(or the area which the controls are disabled), i can use the QGraphicsItem's mousePress/ReleaseEvent...
mtrch last edited by
Have look at "QGraphicsWidget":http://qt-project.org/doc/qt-5/QGraphicsWidget.html and "QGraphicsProxyWidget":http://qt-project.org/doc/qt-5/QGraphicsProxyWidget.html classes.