[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] [pyqt4] Problem updating some radiobutton
From: rosso rossi <emilio84music () yahoo ! it>
Date: 2010-05-20 10:13:46
Message-ID: 925915.38518.qm () web27405 ! mail ! ukl ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hello,
I've a problem with Pyqt4. I'm using latest python 2.6.5 on windows, and latest pyqt \
(4.7.3).
I've made a simple program, but i noticed that my GUI is updating with a small delay. \
Now i give you an example:
I've two class. First class makes the GUI that i want.
I've a second thread that make some mathematical operations, and must put this \
numbers in my GUI.
Here is the final part of this thread:
qb.Probe[5].setChecked(False)
#here there is some mathematical operations
qb.Probe[6].setChecked(False)
#here there is some mathematical operations
qb.Probe[7].setChecked(False), where qb is main class of my program (GUI).
al works ok, but latest instruction "is ignored". pb.Probe[i] are qradiobutton
Probe[5] and Probe[6] is correctly setted, but Probe[7] NEVER.
If i change order of these instruction i've that latest instruction is always \
"skipped". Why? Do pyqt need some time to update it? I don't understand... Thank you \
very much
[Attachment #5 (text/html)]
<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;">Hello,<br><br>I've a problem with Pyqt4. I'm using latest python 2.6.5 on \
windows, and latest pyqt (4.7.3).<br><br>I've made a simple program, but i noticed \
that my GUI is updating with a small delay. Now i give you an example:<br><br>I've \
two class. First class makes the GUI that i want.<br>I've a second thread that make \
some mathematical operations, and must put this numbers in my GUI.<br><br>Here is the \
final part of this thread:<br>qb.Probe[5].setChecked(False)<br>#here there is some \
mathematical operations<br>qb.Probe[6].setChecked(False)<br>#here there is some \
mathematical operations<br>qb.Probe[7].setChecked(False), where qb is main class of \
my program (GUI).<br><br>al works ok, but latest instruction "is ignored". \
pb.Probe[i] are qradiobutton<br><br>Probe[5] and Probe[6] is correctly setted, but \
Probe[7] NEVER.<br><br>If i change order of these instruction i've that latest \
instruction is always "skipped". Why? Do pyqt need some time to update it? I don't \
understand... Thank you very much<br><br><br></td></tr></table><br>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic