Results 1 to 6 of 6

Thread: How to simulate QTouchEvent using mouse

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2010
    Posts
    99
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    31
    Thanked 3 Times in 3 Posts

    Default How to simulate QTouchEvent using mouse

    Hi,

    I want to simulate QTouchEvent using Mouseevents. I mean I don't have a touch screen, but want to simulate touch behavior using Mouse. Is this possible and how?

    Thanks
    D

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: How to simulate QTouchEvent using mouse

    When a mouse click event occures, eat it and send a touch event.

  3. The following user says thank you to tbscope for this useful post:

    dpatel (17th August 2010)

Similar Threads

  1. Replies: 4
    Last Post: 15th March 2010, 14:49
  2. Multiple widgets to receive QTouchEvent
    By jlin in forum Qt Programming
    Replies: 1
    Last Post: 15th December 2009, 04:37
  3. Simulate QMenu behavior
    By Remenic in forum Qt Programming
    Replies: 2
    Last Post: 24th September 2009, 19:48
  4. Replies: 5
    Last Post: 17th July 2009, 12:17
  5. how to Simulate the keyboard press
    By duduqq in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2008, 16:50

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.