Hi,

> If I see things correctly, you misunderstood Phil. You're supposed to do
> the check in a timer-called-function, not the initialization. That is all
> this code:
>> [ code deleted ]]
>
> Should be in a slot connected to a timer.

It is. That's what the line

    QtCore.QTimer.singleShot(0, c.init)

does. I know, the naming of the function init is
not too intuitive, I was maybe a bit quick at
choosing it. The initialisation, btw, is called
__init__, and inherited from QObject.

Greetings

Martin

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to