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. Can I Do a Multiplataform Keyboard Hook?
Forum Updated to NodeBB v4.3 + New Features

Can I Do a Multiplataform Keyboard Hook?

Scheduled Pinned Locked Moved General and Desktop
13 Posts 3 Posters 7.5k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    andre
    wrote on last edited by
    #4

    You're still not describing your problem. Do these keys need to be captured system wide, or only within your application?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dotK
      wrote on last edited by
      #5

      When the application window-less, it became a icon on the taskbar.

      If I press Right Shift+P, for example, I want it do a screenshot...

      But, if I'm on the Machintosh, or Tthe Ubuntu, I don't want do another application...

      Sorry my poor english.

      [.k] - A Mad Programmer

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #6

        Ok, so system-wide.

        Qt itself does not support that (yet), but you can use the Qxt library that adds support for it using the "QxtGlobalShortcut":http://libqxt.bitbucket.org/doc/tip/qxtglobalshortcut.html class.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dotK
          wrote on last edited by
          #7

          Ok, thanks for the help, I will read more about QxTGlobalShortcut

          [.k] - A Mad Programmer

          1 Reply Last reply
          0
          • L Offline
            L Offline
            leon.anavi
            wrote on last edited by
            #8

            With all the respect I would like to ask dotK to avoid posting multiple times same topics. This thread seems to be identical to "Multiplataform Keyboard Hook":http://qt-project.org/forums/viewthread/24144/

            http://anavi.org/

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dotK
              wrote on last edited by
              #9

              I posted again because I could not visualize the previous post

              [.k] - A Mad Programmer

              1 Reply Last reply
              0
              • L Offline
                L Offline
                leon.anavi
                wrote on last edited by
                #10

                [quote author="dotK" date="1359115411"]I posted again because I could not visualize the previous post[/quote]

                There are several ways to find your old posts. You can just go to your profile and press on: "View all posts by dotK (14)":https://qt-project.org/forums/member_search/132489

                P.S. Sorry for the huge offtopic.

                http://anavi.org/

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  dotK
                  wrote on last edited by
                  #11

                  [quote author="leon.anavi" date="1359115617"]
                  [quote author="dotK" date="1359115411"]I posted again because I could not visualize the previous post[/quote]

                  There are several ways to find your old posts. You can just go to your profile and press on: "View all posts by dotK (14)":https://qt-project.org/forums/member_search/132489

                  P.S. Sorry for the huge offtopic.[/quote]

                  It's ok, I made a little mistake, thanks for the adversiment

                  [.k] - A Mad Programmer

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    andre
                    wrote on last edited by
                    #12

                    I have removed the other topic.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dotK
                      wrote on last edited by
                      #13

                      Thanks @Andre

                      [.k] - A Mad Programmer

                      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