Stephan H Wissel wrote:
> Gunnar Sletta <[EMAIL PROTECTED]> wrote on 09/05/2008 10:39:57 PM:
> 
>> 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
>>
> 
> Hi Gunnar,
> thx for your reply. I'm not fully sure if I understand (sorry for that).
> What does "active" mean in this context?
> a) Active = Application is already loaded in memory
> b) Active = The application window has the current OS focus.
> 
> In case of a) ... that is what I'm looking for. The installer would put 
> the application into the
> repective Auto-start location (Startup for Windows, the login script for 
> OS/X and Linux) and we are good to go

Hi,

Its b), The one of the applications windows has focus.

-
Gunnar


_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to