[Qt-interest] systemtray icon menu on vista

Boudewijn Rempt boud at valdyas.org
Wed Dec 17 13:41:13 CET 2008


On Wed, 17 Dec 2008, Girish Ramakrishnan wrote:

> Hi Boudewijn,
> 
> Boudewijn Rempt wrote:
> > 
> > Everything seems fine. Is this a bug in Qt, or should I just not try to assign
> > showing the menu to any trigger myself?
> 
> Correct, if you use setContextMenu leave the responsibility of showing
> the context menu to Qt. Qt will show the context menu when the
> appropriate buttons for the platform are clicked. Also, you will get the
> trigger signals regardless of whether you have a context menu set or not.
> 

Ah, ok. Maybe the fine doc writers at TT can add a little documentation about it?

Boudewijn




More information about the Qt-interest-old mailing list