PDA

View Full Version : QSystemTrayIcon on click() ?



probine
25th January 2007, 07:00
I need to be able to click on my system tray icon and do something. How ?

How about on double click ? How ?

aamer4yu
25th January 2007, 07:19
This might help you for the single click

void QSystemTrayIcon::setContextMenu ( QMenu * menu )

I dont know about the double click :(

probine
25th January 2007, 07:27
Not of much help !

aamer4yu
25th January 2007, 07:38
why so ?? what do u want to achieve on click ?

jpn
25th January 2007, 08:43
QSystemTrayIcon::activated():

QSystemTrayIcon::Trigger - The system tray entry was clicked
QSystemTrayIcon::DoubleClick - The system tray entry was double clicked