Results 1 to 5 of 5

Thread: How to get mouse click event in GUI application regardless of widgets

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to get mouse click event in GUI application regardless of widgets

    I already answered that, didn't I?
    Maybe you only clicked the link instead of also reading the text of the previous comment?

    Cheers,
    _

  2. #2
    Join Date
    Jul 2012
    Posts
    53
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to get mouse click event in GUI application regardless of widgets

    Quote Originally Posted by anda_skoa View Post
    I already answered that, didn't I?
    Maybe you only clicked the link instead of also reading the text of the previous comment?

    Cheers,
    _
    I did read your comment but misunderstood to install the filter on children widgets, which is what I always did with event filter.
    Now I installed the filter on qApp and it works like a charm.

    Also I found a post with code explaination for who met the same issue.
    http://www.qtcentre.org/threads/5009...lude-QKeyEvent

Similar Threads

  1. create mouse click event problem
    By yagabey in forum Qt Programming
    Replies: 6
    Last Post: 8th October 2009, 21:45
  2. can not get mouse double click event for QGraphicsItem
    By learning_qt in forum Qt Programming
    Replies: 2
    Last Post: 14th September 2009, 20:36
  3. Mouse click event problem
    By impeteperry in forum Qt Programming
    Replies: 3
    Last Post: 4th April 2007, 13:44
  4. The event fired by the mouse click on the frame
    By Placido Currò in forum Qt Programming
    Replies: 8
    Last Post: 3rd March 2007, 09:05
  5. mouse click event
    By vijay anandh in forum Qt Programming
    Replies: 1
    Last Post: 1st May 2006, 09:24

Tags for this Thread

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.