Results 1 to 6 of 6

Thread: Move graphicsView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2009
    Location
    Valencia (Spain)
    Posts
    245
    Thanks
    38
    Thanked 19 Times in 19 Posts
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Move graphicsView

    Hi,

    I have a QGraphicsScene, and when it needs the scroll bars when I click on the scene I move the graphicsView around it (QGraphicsView::ScrollHandDrag).

    I suppose this is the desired behavour... but which event controls it? which event is launched when the user "moves" the view? I've tried with a lot of them (all the drag events in scene and view, for examle, are not called), in both graphicsScene and graphicsView and I don't find it :S

    thanks!
    Last edited by jano_alex_es; 20th November 2009 at 12:16.

Similar Threads

  1. How to move child widget with parent widget?
    By anupamgee in forum Qt Programming
    Replies: 3
    Last Post: 19th June 2009, 15:23
  2. Replies: 1
    Last Post: 22nd November 2008, 06:32
  3. GraphicsView ignoring clicks on some objects
    By mooreaa in forum Qt Programming
    Replies: 4
    Last Post: 1st July 2008, 08:59
  4. Move and resize with layout
    By waediowa in forum Qt Programming
    Replies: 0
    Last Post: 14th May 2008, 08:16
  5. Move Rectangle on mouse Move
    By vermarajeev in forum Qt Programming
    Replies: 24
    Last Post: 14th May 2007, 05:34

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.