![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <WaitingSpinnerWidget.h>


Public Slots | |
| void | start () |
| void | stop () |
Public Member Functions | |
| WaitingSpinnerWidget (QWidget *parent=nullptr, bool centerOnParent=true, bool disableParentWhenSpinning=true) | |
| WaitingSpinnerWidget (Qt::WindowModality modality, QWidget *parent=nullptr, bool centerOnParent=true, bool disableParentWhenSpinning=true) | |
| void | setColor (QColor color) |
| void | setRoundness (qreal roundness) |
| void | setMinimumTrailOpacity (qreal minimumTrailOpacity) |
| void | setTrailFadePercentage (qreal trail) |
| void | setRevolutionsPerSecond (qreal revolutionsPerSecond) |
| void | setNumberOfLines (int lines) |
| void | setLineLength (int length) |
| void | setLineWidth (int width) |
| void | setInnerRadius (int radius) |
| QColor | color () |
| qreal | roundness () |
| qreal | minimumTrailOpacity () |
| qreal | trailFadePercentage () |
| qreal | revolutionsPersSecond () |
| int | numberOfLines () |
| int | lineLength () |
| int | lineWidth () |
| int | innerRadius () |
| bool | isSpinning () const |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *paintEvent) override |
Definition at line 39 of file WaitingSpinnerWidget.h.
|
explicit |
Constructor for "standard" widget behaviour - use this constructor if you wish to, e.g. embed your widget in another.
Definition at line 18 of file WaitingSpinnerWidget.cpp.
|
explicit |
Constructor - use this constructor to automatically create a modal ("blocking") spinner on top of the calling widget/window. If a valid parent widget is provided, "centreOnParent" will ensure that QtWaitingSpinner automatically centres itself on it, if not, "centreOnParent" is ignored.
Definition at line 28 of file WaitingSpinnerWidget.cpp.
| QColor WaitingSpinnerWidget::color | ( | ) |
Definition at line 159 of file WaitingSpinnerWidget.cpp.
Referenced by paintEvent(), and setColor().
| int WaitingSpinnerWidget::innerRadius | ( | ) |
Definition at line 199 of file WaitingSpinnerWidget.cpp.
| bool WaitingSpinnerWidget::isSpinning | ( | ) | const |
Definition at line 204 of file WaitingSpinnerWidget.cpp.
| int WaitingSpinnerWidget::lineLength | ( | ) |
Definition at line 189 of file WaitingSpinnerWidget.cpp.
| int WaitingSpinnerWidget::lineWidth | ( | ) |
Definition at line 194 of file WaitingSpinnerWidget.cpp.
| qreal WaitingSpinnerWidget::minimumTrailOpacity | ( | ) |
Definition at line 169 of file WaitingSpinnerWidget.cpp.
Referenced by setMinimumTrailOpacity().
| int WaitingSpinnerWidget::numberOfLines | ( | ) |
Definition at line 184 of file WaitingSpinnerWidget.cpp.
|
overrideprotected |
Definition at line 66 of file WaitingSpinnerWidget.cpp.
References color().
| qreal WaitingSpinnerWidget::revolutionsPersSecond | ( | ) |
Definition at line 179 of file WaitingSpinnerWidget.cpp.
| qreal WaitingSpinnerWidget::roundness | ( | ) |
Definition at line 164 of file WaitingSpinnerWidget.cpp.
Referenced by setRoundness().
| void WaitingSpinnerWidget::setColor | ( | QColor | color | ) |
Definition at line 214 of file WaitingSpinnerWidget.cpp.
References color().
| void WaitingSpinnerWidget::setInnerRadius | ( | int | radius | ) |
Definition at line 153 of file WaitingSpinnerWidget.cpp.
| void WaitingSpinnerWidget::setLineLength | ( | int | length | ) |
Definition at line 141 of file WaitingSpinnerWidget.cpp.
References length().
| void WaitingSpinnerWidget::setLineWidth | ( | int | width | ) |
Definition at line 147 of file WaitingSpinnerWidget.cpp.
References width.
| void WaitingSpinnerWidget::setMinimumTrailOpacity | ( | qreal | minimumTrailOpacity | ) |
Definition at line 230 of file WaitingSpinnerWidget.cpp.
References minimumTrailOpacity().
| void WaitingSpinnerWidget::setNumberOfLines | ( | int | lines | ) |
Definition at line 134 of file WaitingSpinnerWidget.cpp.
| void WaitingSpinnerWidget::setRevolutionsPerSecond | ( | qreal | revolutionsPerSecond | ) |
Definition at line 219 of file WaitingSpinnerWidget.cpp.
| void WaitingSpinnerWidget::setRoundness | ( | qreal | roundness | ) |
Definition at line 209 of file WaitingSpinnerWidget.cpp.
References max(), min(), and roundness().
| void WaitingSpinnerWidget::setTrailFadePercentage | ( | qreal | trail | ) |
Definition at line 225 of file WaitingSpinnerWidget.cpp.
|
slot |
Definition at line 99 of file WaitingSpinnerWidget.cpp.
|
slot |
Definition at line 117 of file WaitingSpinnerWidget.cpp.
| qreal WaitingSpinnerWidget::trailFadePercentage | ( | ) |
Definition at line 174 of file WaitingSpinnerWidget.cpp.