Hi...
I've a QGraphicsWidget and I want to select it..
I use the
setFlag(QGraphicsWidget::ItemIsMovable, true);
setFlag(QGraphicsWidget::ItemIsMovable, true);
To copy to clipboard, switch view to plain text mode
or the same:
setFlag(QGraphicsItem::ItemIsMovable,true);
To copy to clipboard, switch view to plain text mode
but it doesn't work. I've reimplemented the paint method to draw the image.
If I use the QGraphicsPixmapItem (using the same code line) it works..
Where is my mistake?! Does the use of the paint method can "disable" the movable function of the items?
Thanks
Bookmarks