Hey trolls,
I would like to achieve the following.
- I have a Qt program hidden and in the tray.
- I press a special key sequence (like Ctrl + Alt).
- The application shows up.
I want to keep portability.
How can I achieve this ?
Thanks.
Hey trolls,
I would like to achieve the following.
- I have a Qt program hidden and in the tray.
- I press a special key sequence (like Ctrl + Alt).
- The application shows up.
I want to keep portability.
How can I achieve this ?
Thanks.
Harder than it seems.
The tray is easy - QSystemTrayIcon
The hotkey isn't so easy if you want portability. Under windows you can RegisterHotKey() which lets you have a system-wide key sequence, but I've no idea about other OSs.
bunjee (13th November 2009)
Bookmarks