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 wrote:
> Hi Fabio
>
> To see you print() statem
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 catc
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
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
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
the
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 crea
Bump. Could someone help me about this issue?
On Tue, Jul 27, 2010 at 10:30 AM, Fabio Mauri 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 UPnPgui(QtCore.QObject, Ui_Wdw):
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 = [] # ser
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 wrote:
>
> Hi all, I'm trying to get an application run on both windows xp and ubu
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 effect
10 matches
Mail list logo