System tray program that has short-cut key bindings



  • I am trying to make a program that can use short-cut keys, but the app is in the system tray.

    Any ideas?



  • Seems what you need is GlobalShortcut, you can find one from libqxt if you don't want to use api provided by your OS directly.



  • I would but if I use QT it should be cross plateform right?

    Thanks btw.

    I am trying to find GlobalShortcut in the documentation and all I get is QShortcut is this the right one?



  • [quote author="Ryein" date="1338619007"]I would but if I use QT it should be cross plateform right?

    Thanks btw.

    I am trying to find GlobalShortcut in the documentation and all I get is QShortcut is this the right one?[/quote]
    No, Qt itself doesn't support global shortcut yet. But you can find one from LIBQXT


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.