Re: [PyQt] connect problem on windows xp

2010-07-29 Thread Fabio Mauri
Attached you can find the Ui_Wdw class. In the last connect, I used a different style because for such a reason the QObject.connect() i used in the lines above wouldn't work while the signal.connect() does (on Ubuntu 10.04). Do you think that this problem is related to the current issue? Anyway

Re: [PyQt] connect problem on windows xp

2010-07-29 Thread Sybren A . Stüvel
On Thu, Jul 29, 2010 at 08:59:16AM +0200, Fabio Mauri wrote: Attached you can find the Ui_Wdw class. That wasn't my point. Please make a *minimal* bit of code that shows your problem. In the last connect, I used a different style because for such a reason the QObject.connect() i used in the

Re: [PyQt] connect problem on windows xp

2010-07-29 Thread Fabio Mauri
Ok, this below is a minimal example. Launching this (with the gui file attached in the previous mail) in Ubuntu 10.04 I can see the prints on cmdline when clicking on pushbuttons, under windows xp I cannot see them. #!/usr/bin/python from twisted.internet import reactor from coherence.base import

Re: [PyQt] connect problem on windows xp

2010-07-29 Thread F.A.Pinkse
Hi Fabio To see you print() statements you need to lauch your script with python If you use pythonw the script is lauched and the communication channels are closed. Or you use one of these: def noneSelected(self): print (signal catched 2) self.dtype.setText(signal

Re: [PyQt] connect problem on windows xp

2010-07-29 Thread Fabio Mauri
I solved the issue following linjunhalida's suggestion: adding QObject.__init__(self) in the __init__ function of my GUI, everything turns fine also on windows. Thank you linjunhalida, and thank you all! On Thu, Jul 29, 2010 at 4:56 PM, F.A.Pinkse fapin...@gmail.com wrote: Hi Fabio To see

Re: [PyQt] connect problem on windows xp

2010-07-28 Thread Fabio Mauri
Bump. Could someone help me about this issue? On Tue, Jul 27, 2010 at 10:30 AM, Fabio Mauri fabio.ma...@gmail.com wrote: Hi,    the whole file is quite big, but I think that the following is the interesting part (if you need something more, ask me and I'll post it): class

Re: [PyQt] connect problem on windows xp

2010-07-28 Thread Sybren A. Stüvel
On 27-7-2010 10:30, Fabio Mauri wrote: the whole file is quite big, but I think that the following is the interesting part (if you need something more, ask me and I'll post it): I think we need less, not more. This code won't run anyway, since you didn't provide the Ui_Wdw class. Try to create

[PyQt] connect problem on windows xp

2010-07-27 Thread Fabio Mauri
Hi all, I'm trying to get an application run on both windows xp and ubuntu 10.04 platforms. My app imports twisted, coherence and PyQt. The problem is that under windows XP the signals seems not to be connected to slots, even if the QObject.connect() returns True. Clicking on buttons have no

Re: [PyQt] connect problem on windows xp

2010-07-27 Thread makhamisa senekane
Hi, could you please provide us with your code, because I run most of my applications on windows XP, and they work very well(using signal/slot connections). Makhamisa On Tue, Jul 27, 2010 at 10:15 AM, Fabio Mauri fabio.ma...@gmail.com wrote: Hi all, I'm trying to get an application run on

Re: [PyQt] connect problem on windows xp

2010-07-27 Thread Fabio Mauri
Hi,    the whole file is quite big, but I think that the following is the interesting part (if you need something more, ask me and I'll post it): class UPnPgui(QtCore.QObject, Ui_Wdw):     def __init__(self, sear):     self.version = 0.5b     self.s = sear     self.serva = [] #