How to add a movable QWidget inside a QGraphicsView
Unsolved
General and Desktop
-
Hi. With these lines of code
QGraphicsProxyWidget *pProx = scene->addWidget(new QPushButton("test")); pProx->setFlag(QGraphicsItem::ItemIsMovable);
I can put a QPushButton inside a QGraphicsView scene.
Is there a way to get it movable? The linepProx->setFlag(QGraphicsItem::ItemIsMovable);
doesn't seem to work.
-