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 = SystemTrayIcon(QtGui.QIcon
sys.exit(app.exec_())
if __name__ == '__main__':
main()
On 11/07/2016 10:49 AM, Anssi Saari wrote:
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
Hello,
i have just released the brand new FTP server based on pyftpdlib, named
PyFTPD.
You can run it from CLI with PyFTPD-cli.py or if you like GUIs run the
PyFTPD.py
It is written on PyQT4 and Python 2.7.12
More at https://github.com/demosthenesk/PyFTPD
Regards,
Dim
--
https://mail.p
Dim
On 10/29/2016 01:22 AM, Wildman via Python-list wrote:
On Fri, 28 Oct 2016 17:19:17 -0500, Wildman wrote:
On Fri, 28 Oct 2016 11:05:17 +0300, Demosthenes Koptsis wrote:
Yes it was pasted wrong...
def umount(self):
'''unmounts VirtualDVD''
e + "/VirtualDVD"
cmd = 'gksudo umount ' + vpath
proc = subprocess.Popen(str(cmd), shell=True,
stdout=subprocess.PIPE).stdout.read()
print proc
On 10/28/2016 11:05 AM, Demosthenes Koptsis wrote:
Yes it was pasted wrong...
def umount(self):
tly the gksudo runs correctly. I can input the password.
But the umount does nothing. I keep have mounted the VirtualDVD folder.
On 10/28/2016 12:54 AM, Ian Kelly wrote:
On Thu, Oct 27, 2016 at 3:30 PM, Demosthenes Koptsis
wrote:
I want to execute the command "gksudo umount VirtualDVD&quo
I want to execute the command "gksudo umount VirtualDVD"
My code is this but it fails:
def umount(self):
'''unmounts VirtualDVD''' cmd ='gksudo umount VirtualDVD' proc =
subprocess.Popen(str(cmd),shell=True,stdout=subprocess.PIPE).stdout.read()
print proc
It pops up the gksudo dialog,
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
Here is an example about threads and PyQT
https://www.youtube.com/watch?v=ivcxZSHL7jM&index=2
On 10/27/2016 01:22 PM, pozz wrote:
Il 26/10/2016 16:18, jmp ha scritto:
On 10/26/2016 02:45 PM, pozz wrote:
Il 26/10/2016 13:16, jmp ha scritto:
[...]
I suggest you write a GUI that make synchron
I have the book already.
Thank you Michael
Regards,
Dim
On 10/20/2016 01:30 AM, Michael Torrie wrote:
On 10/19/2016 01:13 PM, Demosthenes Koptsis wrote:
Did you suggest PySide than PyQt...?
Only that I'm using it right now, but I'm making sure my code will run
with PyQt. I d
Thanks Michael,
now i have a clear look about Py GUIs.
Did you suggest PySide than PyQt...?
I want to start with a Python Qt Framework.
On 10/19/2016 09:43 PM, Michael Torrie wrote:
On 10/19/2016 12:18 PM, Demosthenes Koptsis wrote:
I thought PyQt was supported by Qt company...
I don
&qid=1476901015&sr=8-1&keywords=rapid+qt+python
Inside the book the apps are been developed in PyQt
Regards,
Dim
On 10/19/2016 03:49 PM, Mark Summerfield wrote:
On Tuesday, October 18, 2016 at 9:09:46 PM UTC+1, Demosthenes Koptsis wrote:
My favorite GUIs are PyQt and wxPython.
I pref
I have no experience of GTK
On 10/19/2016 12:23 AM, pozz wrote:
Il 18/10/2016 18:41, Demosthenes Koptsis ha scritto:
> My favorite GUIs are PyQt and wxPython.
>
> I prefer PyQt than PySide because PySide seem to me like an abandoned
> project.
>
> Also i prefer PyQt than wxPy
My favorite GUIs are PyQt and wxPython.
I prefer PyQt than PySide because PySide seem to me like an abandoned
project.
Also i prefer PyQt than wxPython because i can design the forms in
QtDesigner easily.
wxPython and wxWidgets do not have a GUI designer competitor to QtDesigner.
So, my ch
14 matches
Mail list logo