Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
QTimerトリガーとなる定期的なイベントがあります。
QTimer
いくつかの特別な信号を最後のイベントに同期させたいので、タイマーを直接停止したくありません。
次のショットがシングル ショットになり、次のショットの後にタイマーが停止するように設定することで、setSingleShot(true)これを達成できますか?QTimer
setSingleShot(true)
編集: うまくいくようです。しかし、setSingleShot(true)アトミックではないようです。タイマーが停止する前に、2ショットを観察することがあります。