Results 1 to 20 of 22

Thread: Gestures and QGraphicsScene

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #20
    Join Date
    Jan 2011
    Posts
    16
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1

    Default Re: Gestures and QGraphicsScene

    Quote Originally Posted by stretchtiberius View Post
    I confirmed that the code I posted previously (the TouchObject class) still receives gesture events with Qt 4.7.1 under Windows 7. I cannot test for OS X. However, I will attach the other little code pieces I use to get it running. I hope it helps. Let me know if I can do anything else for you.
    ...
    Thanks, I will stich your example together and try it out on Mac OS X and post my results here.

    By the way - on a slightly different topic, "Gesture Pan Events swallowed" - does the example work for you on Windows 7: http://bugreports.qt.nokia.com/secur...iewGesture.zip

    It seems that when the mouse cursor is placed over an item the "Pan" gesture gets "swallowed", only the gesture "Begin" event is delivered to the QGraphicsScene. Pinch events always work, regardless of where the mouse is placed.

    Note that in the example you would only get debug output, and the mouse cursor changes to a cross in case of Pan events. And the cursor remains a cross when the mouse cursor was placed over an item (because no "End" Gesture event is received).


    If that example worked for you on Windows 7 then I am facing a Mac OS X Cocoa specific issue (on a MacBook Pro).

    Thanks!
    Oliver
    Last edited by Oliver Knoll; 10th January 2011 at 09:57.

Similar Threads

  1. Qt gestures on PC
    By pingwinek in forum Qt Programming
    Replies: 10
    Last Post: 1st December 2010, 02:30
  2. Image Gestures example on OSX 10.5.8
    By jhndnn in forum Qt Programming
    Replies: 2
    Last Post: 17th September 2010, 12:55
  3. Grabing Touch Gestures on GraphicsView with Qt 4.6
    By serge in forum Qt Programming
    Replies: 0
    Last Post: 9th March 2010, 23:50
  4. Gestures
    By emrares in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 20th December 2009, 09:30
  5. in QGraphicsScene matrix of other QGraphicsScene
    By Noxxik in forum Qt Programming
    Replies: 5
    Last Post: 15th February 2009, 17:27

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.