[PyQt] threading

Andreas Pakulat apaku at gmx.de
Thu Nov 22 16:00:17 GMT 2007


On 22.11.07 09:11:31, Lawrence Shafer wrote:
> I've been playing with threading the last few hours, because I have a lcd 
> number object in the gui that I want to update once per second. Am I 
> barking up the right tree with threading?

Maybe you're not barking up the right tree here. An IMHO easier way to
have a certain widget update itself once in X seconds is setting up a
QTimer that fires every X seconds and connect its timeout signal to the
widgets update() slot.

Andreas

-- 
Among the lucky, you are the chosen one.


More information about the PyQt mailing list