... but we save some resources by having Qt generate timer events only when the widget is actually visible. void Ticker::timerEvent(QTimerEvent *event) { if ...
確定! 回上一頁