[Qt-jambi-interest] Tray-area and hotkeys
Gunnar Sletta
gunnar at trolltech.com
Fri May 9 16:39:57 CEST 2008
Stephan H Wissel wrote:
> Hi,
> I just get started...
> I need to create an app that lives in the system tray and reacts on a
> global hotkey (on win/lin/osx. The tray icon is there, but how would i
> define the global hotkey (something like apple-shift G or win-G)
> :-) stw
Hi Stephan,
Qt does not support adding system-wide shortcuts. The best you can get
is an action with a shortcut that is active while the application is active.
http://doc.trolltech.com/main-snapshot/qaction.html
http://doc.trolltech.com/main-snapshot/qt.html#ShortcutContext-enum
best regards,
Gunnar
More information about the Qt-jambi-interest
mailing list