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. How to capture combination key with [Window] Key?
QtWS25 Last Chance

How to capture combination key with [Window] Key?

Scheduled Pinned Locked Moved Solved General and Desktop
qmlshortcut
5 Posts 3 Posters 658 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.
  • M Offline
    M Offline
    MintogoDeveloper
    wrote on 19 Aug 2021, 01:46 last edited by MintogoDeveloper
    #1

    Hi.

    I am using Window of QML with frameless window flag.

    To serve experience simillar with window default framed application, I should capture combination with window key.

    such as [Window + Up arrow], [Window + Down arrow] ...

    but is there no sequence in Shortcut on QML.

    I tried to capture above combination with [installEventFilter], but it wasn't work.

    is there any way ?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on 20 Aug 2021, 06:38 last edited by
      #4

      Windows 10 currently captures Win-Up, Down, Left and Right to control window placement. This may mean they never get to basic applications.

      M 1 Reply Last reply 23 Aug 2021, 04:52
      1
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 19 Aug 2021, 19:19 last edited by
        #2

        Hi,

        You do not get any key event at all with them ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        M 1 Reply Last reply 20 Aug 2021, 00:44
        0
        • S SGaist
          19 Aug 2021, 19:19

          Hi,

          You do not get any key event at all with them ?

          M Offline
          M Offline
          MintogoDeveloper
          wrote on 20 Aug 2021, 00:44 last edited by
          #3

          @SGaist Hi SGaist,

          When I tired to capture key event in eventFilter function [Win-key] and any arrow keys, if [Win-key] pressed, I coudn't get any arrow key event.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            ChrisW67
            wrote on 20 Aug 2021, 06:38 last edited by
            #4

            Windows 10 currently captures Win-Up, Down, Left and Right to control window placement. This may mean they never get to basic applications.

            M 1 Reply Last reply 23 Aug 2021, 04:52
            1
            • C ChrisW67
              20 Aug 2021, 06:38

              Windows 10 currently captures Win-Up, Down, Left and Right to control window placement. This may mean they never get to basic applications.

              M Offline
              M Offline
              MintogoDeveloper
              wrote on 23 Aug 2021, 04:52 last edited by
              #5

              @ChrisW67 Ok I understood... Thank you.

              1 Reply Last reply
              0

              1/5

              19 Aug 2021, 01:46

              • Login

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