Hi.
I've read the book but I'm very confused with the parent/addWidget() stuff.
For example, we usually have something like this in a simple case.
W=Widget (parent)
parent.addWidget (W)
However suppose we have this in the main window:
A HBoxLayout(H1) which contains a ButtonGroup (B1) which
contain
Gordon Tyler wrote:
A couple of things to note here:
1. The Python "threading" module is higher-level and easier to use
than the lower-level "thread" module.
2. I don't think Python and Qt threading mix well, so you should use
QThread and related classes rather than Python threading.
Python sess
Hi.
Suppose the minimal program:
def foo():
app=QApplication(sys.argv)
button=QPushButton("Hello World", None)
app.setMainWidget(button)
button.show()
app.exec_loop()
And I say
>>> thread.start_new_thread (foo, ())
Then the python console freezes
Is it not possible o thread up mu