Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to get ALL the keyboard pressed keys WITHOUT RESTRICTION OR FILTER?

How to get ALL the keyboard pressed keys WITHOUT RESTRICTION OR FILTER?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
keykeyboardwindowfilter
3 Posts 2 Posters 656 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.
  • J Offline
    J Offline
    jeanmilost
    wrote on 3 Dec 2020, 16:22 last edited by
    #1

    In my ApplicationWindow I need to receive ALL the keyboard pressed keys ALWAYS, and WITHOUT ANY RESTRICTION OR FILTER. How can I achieve that?

    J 1 Reply Last reply 3 Dec 2020, 16:26
    0
    • J jeanmilost
      3 Dec 2020, 16:22

      In my ApplicationWindow I need to receive ALL the keyboard pressed keys ALWAYS, and WITHOUT ANY RESTRICTION OR FILTER. How can I achieve that?

      J Online
      J Online
      J.Hilk
      Moderators
      wrote on 3 Dec 2020, 16:26 last edited by
      #2

      @jeanmilost
      Inside main.cpp install an eventfilter on the Q(GUI)Application


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      J 1 Reply Last reply 3 Dec 2020, 23:40
      6
      • J J.Hilk
        3 Dec 2020, 16:26

        @jeanmilost
        Inside main.cpp install an eventfilter on the Q(GUI)Application

        J Offline
        J Offline
        jeanmilost
        wrote on 3 Dec 2020, 23:40 last edited by
        #3

        @J-Hilk said in How to get ALL the keyboard pressed keys WITHOUT RESTRICTION OR FILTER?:

        Inside main.cpp install an eventfilter on the Q(GUI)Application

        Thank you very much, this was exactly what I needed!

        1 Reply Last reply
        1

        2/3

        3 Dec 2020, 16:26

        • Login

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