No.
Subclass QGraphicsView and override the necessary funtions there.
Note that you can also subclass the items themselves and react fro mouse actions already there
No.
Subclass QGraphicsView and override the necessary funtions there.
Note that you can also subclass the items themselves and react fro mouse actions already there
I need a simple example.
QWidget is an ancestor of graphics view. So you get mouseReleaseEvent in graphics view. You just need to override the function QAbstractScrollArea::mouseReleaseEvent
I wrote here., but no one helped. During all day i tried a lot.
http://www.qtcentre.org/forum/f-newb...ighlight=scene
Bookmarks