QBasicTimer 屬於輕量級的計時類,它不繼承自QObject,所以它不能給你提供訊號和槽 ... void timerEvent(QTimerEvent *); private: QBasicTimer timer; ...
確定! 回上一頁