PDA

View Full Version : how to pass QSystemTrayIcon control between QDialog and QmainWindow



umen
29th May 2011, 06:31
i have QDialog that closing after its done its flow and i start QmainWinodw , in the QDialog i init QSystemTrayIcon with the QDialog as parent
after the Qdialog closed , i like to change the QSystemTrayIcon icon from the QmainWinodw , how can i pass the control of the QSystemTrayIcon from QDialog to QMainWindow ?

Santosh Reddy
29th May 2011, 08:00
It is not very clear, can you post the sequence of QDialog & QMainWindow