Results 1 to 11 of 11

Thread: QGraphicsScene drag event

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    136
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    9
    Thanked 3 Times in 3 Posts

    Default Re: QGraphicsScene drag event

    Thanks for your advice aamer4yu.
    Unfortunately I found mousemove doesn't get called when the mouse button is down. That's why I'm trying the drag events.
    Do you know if the scene drag events can be made to work?

    Also if only drawing is your aim, you wont even need graphics scene or view. You can simply draw on a widget.
    I want to keep the background image separate from the drawing so I can support erase efficiently. And the scene/view stack supports zooming.

    Could I get erase and zoom working efficiently on a widget?
    Last edited by rbp; 11th February 2009 at 11:27.

Similar Threads

  1. Custom event gets not propagated to the top level widget
    By nightghost in forum Qt Programming
    Replies: 0
    Last Post: 29th January 2009, 09:06
  2. Drag & Drop when parent and childs accept drops?
    By gri in forum Qt Programming
    Replies: 0
    Last Post: 17th October 2008, 09:00
  3. QGraphicsScene doesn't enter drag event
    By Radagast in forum Qt Programming
    Replies: 8
    Last Post: 16th June 2008, 17:21
  4. Qt event queue overloading?
    By gct in forum Qt Programming
    Replies: 3
    Last Post: 17th March 2008, 18:39
  5. Drag and drop revisited
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 30th June 2006, 16:41

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
  •  
Qt is a trademark of The Qt Company.