Results 1 to 3 of 3

Thread: C++/Qt5 - Install event filter on UI QPushButton

Threaded View

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

    Default Re: C++/Qt5 - Install event filter on UI QPushButton

    Your event filter is filtering out all events for the button (returning true).
    So it will not get the show event or paint events, etc.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    jimbo (22nd December 2015)

Similar Threads

  1. Event Filter doesnt work on Drop Event
    By DNW in forum Qt Programming
    Replies: 3
    Last Post: 25th October 2015, 06:55
  2. Qt event filter hides the widget
    By Cupidvogel in forum Newbie
    Replies: 3
    Last Post: 8th April 2015, 11:30
  3. filter mouse event
    By sajis997 in forum Qt Quick
    Replies: 10
    Last Post: 16th February 2015, 07:26
  4. Replies: 2
    Last Post: 12th May 2012, 11:30
  5. Event filter question
    By d_stranz in forum Qt Programming
    Replies: 7
    Last Post: 7th July 2011, 23:08

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.