Results 1 to 2 of 2

Thread: QMouseEvent with two mice

  1. #1
    Join Date
    May 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default QMouseEvent with two mice

    Hello everybody,

    I am using two mice at same time. But somehow it doesn't work well.

    If I use one mouse and press left and right key, mousePressEvent can catch both events, the same happens when I release them. When I use two mice, and press both left keys, mousePressEvent can catch both, but when I release them, mouseReleaseEvent only catch once. I guess it is the problem of, they are all recognized as the left key, so if one is released, system deal with it as this mouseEvent is done.

    I think it can be solved as I use different keys of different mouse. But if anybody has better idea? Thank you in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QMouseEvent with two mice

    Please don't post the same topic twice! If someone know's the answer to your question he will answer. Even to a post that is 3 (!) hours old...

Similar Threads

  1. mouseEvent with two mice
    By yun in forum Newbie
    Replies: 0
    Last Post: 6th May 2009, 10:25
  2. help needed in QMouseEvent
    By aj2903 in forum Qt Programming
    Replies: 21
    Last Post: 14th February 2009, 11:15
  3. qmouseEvent handling
    By nass in forum Qt Tools
    Replies: 9
    Last Post: 13th October 2006, 08:55
  4. How to get color of pixel or point by QMouseEvent
    By Krishnacins in forum Newbie
    Replies: 4
    Last Post: 28th May 2006, 01:46
  5. QToolBox and QMouseEvent
    By mickey in forum Qt Programming
    Replies: 6
    Last Post: 1st February 2006, 11:57

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.