MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / stop

Method stop

Components/WaitingSpinnerWidget.cpp:127–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void WaitingSpinnerWidget::stop() {
128 _isSpinning = false;
129 hide();
130
131 if(parentWidget() && _disableParentWhenSpinning) {
132 parentWidget()->setEnabled(true);
133 }
134
135 if (_timer->isActive()) {
136 _timer->stop();
137 _currentCounter = 0;
138 }
139}
140
141void WaitingSpinnerWidget::setNumberOfLines(int lines) {
142 _numberOfLines = lines;

Callers 1

setPreparingMethod · 0.45

Calls 1

setEnabledMethod · 0.45

Tested by

no test coverage detected