Hi,
How can I show a balloon message everytime I put the mouse over a tray icon?
Hi,
How can I show a balloon message everytime I put the mouse over a tray icon?
I'm afraid that the current implementation of QSystemTrayIcon makes it possible to show only a tooltip upon hovering. QSystemTrayIcon::activated() is emitted whenever upon corresponding action, but unfortunately there is no way to react to "mouse over".
J-P Nurmi
Yeah but that only shows a tooltip, which is fine. However, he was asking for a balloon, I know there is a STYLE setting for this in the Win API that allows people to use the balloon style, but I don't know if Qt has that implemented.
The problem is not in showing the baloon, but in reacting on mouse hover event.
On 'System Tray' example of Qt4, when the mouse is over the tray icon there is a tip, or something like that, that will be fine to my project. I think it's showed by an 'activated' signal. I'll read the source code and try to understand it.
Thank you all.
eu.x (28th February 2007)
Bookmarks