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

Method QProgressIndicator

src/qprogressindicator.cpp:11–16  ·  view source on GitHub ↗

* @brief QProgressIndicator::QProgressIndicator constructor. * @param parent widget the indicator is placed in. */

Source from the content-addressed store, hash-verified

9 * @param parent widget the indicator is placed in.
10 */
11QProgressIndicator::QProgressIndicator(QWidget *parent)
12 : QWidget(parent), m_angle(0), m_timerId(-1), m_delay(40),
13 m_displayedWhenStopped(false), m_color() {
14 setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
15 setFocusPolicy(Qt::NoFocus);
16}
17
18auto QProgressIndicator::isAnimated() const -> bool { return m_timerId != -1; }
19

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected