i answered my own question.
On 11/07/2016 11:44 AM, Demosthenes Koptsis wrote:
because there is no window open and quits by default.
You have to do two things:
1) Make sure that your SystemTray class has parent a QWidget
w = QtGui.QWidget()
trayIcon =
because there is no window open and quits by default.
You have to do two things:
1) Make sure that your SystemTray class has parent a QWidget
w = QtGui.QWidget()
trayIcon = SystemTrayIcon(QtGui.QIcon("virtualdvd.png"), w)
2) set quit to false
app.setQuitOnLastWindowClosed(False)
Demosthenes Koptsis writes:
> Hello, i have a PyQT systray app with a menu and two actions.
>
> Action1 is Exit and action2 display a MessageBox with Hello World message.
>
> When i click OK to MessageBox app quits...why?
>
> http://pastebin.com/bVA49k1C
I haven't done
Hello, i have a PyQT systray app with a menu and two actions.
Action1 is Exit and action2 display a MessageBox with Hello World message.
When i click OK to MessageBox app quits...why?
http://pastebin.com/bVA49k1C
--
https://mail.python.org/mailman/listinfo/python-list