Re: [PyQT] After MessageBox app quits...why?

2016-11-07 Thread Demosthenes Koptsis
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 =

Re: [PyQT] After MessageBox app quits...why?

2016-11-07 Thread Demosthenes Koptsis
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)

Re: [PyQT] After MessageBox app quits...why?

2016-11-07 Thread Anssi Saari
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

[PyQT] After MessageBox app quits...why?

2016-10-27 Thread Demosthenes Koptsis
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