All but I to the present study is mostly in the constructor of the widget to write code, or use a trough this kind of signal, I checked the qt is circular perform some events? Such as signal channel, mouse, keyboard events, that how to let him go to cycle through a testing equipment code?
CodePudding user response:
1. Open a thread, QThread or pthread2. The timer, QTImer, set up interval, groove function is the loop body
CodePudding user response:
The timer QTimer is ok