* @brief QProgressIndicator::QProgressIndicator constructor. * @param parent widget the indicator is placed in. */
| 9 | * @param parent widget the indicator is placed in. |
| 10 | */ |
| 11 | QProgressIndicator::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 | |
| 18 | auto QProgressIndicator::isAnimated() const -> bool { return m_timerId != -1; } |
| 19 |
nothing calls this directly
no outgoing calls
no test coverage detected