Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. EventFilter

EventFilter

Scheduled Pinned Locked Moved Unsolved Showcase
2 Posts 2 Posters 633 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
    liuyu
    wrote on last edited by
    #1

    hello!
    Detailed description:
    Press Win + D for the first time and all windows will be minimized. Press Win + D again and all windows will be restored. However, when I use EventFilter and rewrite the show event, after I press Win + D for the first time, the widget is minimized, which is normal. However, I do not press the win + D key combination for the second time, but randomly click any other icon on the desktop, which will trigger the show event of the widget of this QT program. Note that even if I do not click the icon of this program, it will trigger.
    5818f028-b3af-434e-b110-8b895a991ec6-image.png

    JonBJ 1 Reply Last reply
    0
    • L liuyu

      hello!
      Detailed description:
      Press Win + D for the first time and all windows will be minimized. Press Win + D again and all windows will be restored. However, when I use EventFilter and rewrite the show event, after I press Win + D for the first time, the widget is minimized, which is normal. However, I do not press the win + D key combination for the second time, but randomly click any other icon on the desktop, which will trigger the show event of the widget of this QT program. Note that even if I do not click the icon of this program, it will trigger.
      5818f028-b3af-434e-b110-8b895a991ec6-image.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @liuyu
      How does this differ from your existing/on-going https://forum.qt.io/topic/138347/hello-i-have-a-problem? Please don't make people have to answer you in two places, you won't get better solutions.

      Separately, quite why you post in Showcase forum I do not know.

      1 Reply Last reply
      0

      • Login

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