MCPcopy Create free account
hub / github.com/IJHack/QtPass / timerEvent

Method timerEvent

src/qprogressindicator.cpp:82–86  ·  view source on GitHub ↗

* @brief QProgressIndicator::timerEvent do the actual animation. */

Source from the content-addressed store, hash-verified

80 * @brief QProgressIndicator::timerEvent do the actual animation.
81 */
82void QProgressIndicator::timerEvent(QTimerEvent * /*event*/) {
83 m_angle = (m_angle + 30) % 360;
84
85 update();
86}
87
88/**
89 * @brief QProgressIndicator::paintEvent draw the spinner.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected