best way to detect when user stops moving a QGgraphicsItem
I'm messing around with simple selectable + movable tiles in a graphics view/scene. When the user releases the LMB after dragging a Qgraphicsitem I want to invoke some actions.
Do I have to sub-class the scene/item and watch mouse events to identify this?
Last edited by amleto; 15th June 2013 at 14:41.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks