F
Fabian Steiner
Hello!
I have just written a MyDialog class which is derived from the orginial
QDialog class. MyDialog only possesses a QLabel and a QPushButton. Now I
would like to get the QLabel updated every second so that it displays
the current time.
I think I will have to work with Threads in order to achieve this aim,
but so far I didn't succeed in doing it because I couldn't find any
examples.
Could anyone give me some hints or a piece of code?
Cheers,
Fabian Steiner
I have just written a MyDialog class which is derived from the orginial
QDialog class. MyDialog only possesses a QLabel and a QPushButton. Now I
would like to get the QLabel updated every second so that it displays
the current time.
I think I will have to work with Threads in order to achieve this aim,
but so far I didn't succeed in doing it because I couldn't find any
examples.
Could anyone give me some hints or a piece of code?
Cheers,
Fabian Steiner