Results 1 to 4 of 4

Thread: Panning

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 74 Times in 54 Posts

    Default Re: Panning

    QGraphicsView already has panning/scrolling functionality. Set the drag mode. Look at "Colliding Mice" demo for an example. If you want to know if the mouse is over an item, then implement hoverEnterEvent() and hoverLeaveEvent() for the item.

  2. #2
    Join Date
    Dec 2008
    Posts
    31
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2

    Default Re: Panning

    Thanks for the reply, i have done that now.

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.