The look of a WaitingSpinnerWidget: color, lines, trail and speed. More...
| Header: | #include <SpinnerStyle> |
SpinnerStyle is a plain value type. A caller fills one in with the setters and passes it to WaitingSpinnerWidget::setStyle(), which copies it, restarts the animation counter and recomputes the timer interval and the widget size. The widget owns its copy, so the caller's object can go out of scope.
The setters store their value as given, except setRoundness(), which clamps its argument to 0 to 1 and stores it as a percentage.
See also WaitingSpinnerWidget.