Results 1 to 8 of 8

Thread: How to generate an event for "both the mouse buttons clicked together"?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Nov 2007
    Posts
    291
    Thanks
    85
    Thanked 1 Time in 1 Post

    Default Re: How to generate an event for "both the mouse buttons clicked together"?

    the right click followed by leftclick(vice-versa) where the former is still active .does this not work

    in other words

    if( (mouseEvent->button() == Qt::LeftButton)
    {
    if(mouseEvent->button() == Qt::RightButton))
    {
    //your code
    }
    }
    Last edited by babu198649; 20th November 2007 at 10:36.

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.