Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. eventFilter issue
QtWS25 Last Chance

eventFilter issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 184 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LorenzoCorti
    wrote on last edited by
    #1

    Inside the filter event what is the best way to filter the events that have been propagated and are not the original event, in order to avoid double clicks

    Pl45m4P 1 Reply Last reply
    0
    • L LorenzoCorti

      Inside the filter event what is the best way to filter the events that have been propagated and are not the original event, in order to avoid double clicks

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @LorenzoCorti said in eventFilter issue:

      original event

      What original event?

      Handle your events, you want to filter and ignore the rest.

      If all the event filters allow further processing of an event (by each returning false), the event is sent to the target object itself. If one of them stops processing (by returning true), the target and any later event filters do not get to see the event at all.

      (https://doc.qt.io/qt-5/eventsandfilters.html#event-filters)


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved