Results 1 to 3 of 3

Thread: best way to detect when user stops moving a QGgraphicsItem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default 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.

Similar Threads

  1. QGraphicsItem Jerky Movement?
    By steadi in forum Newbie
    Replies: 0
    Last Post: 10th November 2012, 00:44
  2. Signals stops working
    By JaroMast in forum Qt Programming
    Replies: 4
    Last Post: 28th August 2012, 19:34
  3. Replies: 0
    Last Post: 24th May 2010, 12:19
  4. tab stops ?
    By ixM in forum Qt Programming
    Replies: 4
    Last Post: 28th May 2009, 13:11
  5. Replies: 2
    Last Post: 27th November 2008, 10:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.