[Qt-interest] [qt-interest] Message associated with trayIcon.
R. Reucher
rene.reucher at batcom-it.net
Thu Sep 10 12:16:08 CEST 2009
On Thu, 10 Sep 2009 09:33:24 +0000, R. Reucher wrote:
>> Well, do use QSystemTrayIcon::setContextMenu(QMenu *) to set the
>> context menu in this function? We can't just "assume" that you do it
>> right...
> Sorry, this was complete BS from my side... you weren't asking for the
> context menu, but the message box.
>
>> Again, does the example desktop/systray work for you or not?
> This is still a valuable question, though ;).
Also, there's this statement in the documentation for
QSystemTrayIcon::showMessage():
"Note that display of messages are dependent on the system configuration
and user preferences, and that messages may not appear at all. Hence, it
should not be relied upon as the sole means for providing critical
information."
So it could be something outside your code... and what does
QSystemTrayIcon::supportsMessages() return?
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
If anything can go wrong, it will.
More information about the Qt-interest-old
mailing list