35 bool centerOnParent =
false,
36 bool disableParentWhenSpinning =
false);
43 Spinner(Qt::WindowModality modality,
45 bool centerOnParent =
true,
46 bool disableParentWhenSpinning =
true);
83 static int lineCountDistanceFromPrimary(
int current,
int primary,
85 static QColor currentLineColor(
int distance,
int totalNrOfLines,
86 qreal trailFadePerc, qreal minOpacity,
92 void updatePosition();
97 qreal _minimumTrailOpacity;
98 qreal _trailFadePercentage;
99 qreal _revolutionsPerSecond;
110 bool _centerOnParent;
111 bool _disableParentWhenSpinning;
void setLineWidth(int width)
Definition: spinner.cpp:156
qreal minimumTrailOpacity()
Definition: spinner.cpp:174
void setColor(QColor color)
Definition: spinner.cpp:210
void setLineLength(int length)
Definition: spinner.cpp:151
int lineLength()
Definition: spinner.cpp:190
int innerRadius()
Definition: spinner.cpp:198
void setRevolutionsPerSecond(qreal revolutionsPerSecond)
Definition: spinner.cpp:214
qreal revolutionsPersSecond()
Definition: spinner.cpp:182
void setInnerRadius(int radius)
Definition: spinner.cpp:161
int lineWidth()
Definition: spinner.cpp:194
void setMinimumTrailOpacity(qreal minimumTrailOpacity)
Definition: spinner.cpp:223
void setText(QString text)
qreal roundness()
Definition: spinner.cpp:170
qreal trailFadePercentage()
Definition: spinner.cpp:178
void setNumberOfLines(int lines)
Definition: spinner.cpp:145
QColor color()
Definition: spinner.cpp:166
void stop()
Definition: spinner.cpp:131
Spinner(QWidget *parent=0, bool centerOnParent=false, bool disableParentWhenSpinning=false)
Definition: spinner.cpp:38
void start()
Definition: spinner.cpp:116
void setTrailFadePercentage(qreal trail)
Definition: spinner.cpp:219
void setRoundness(qreal roundness)
Definition: spinner.cpp:206
void paintEvent(QPaintEvent *paintEvent)
Definition: spinner.cpp:83
bool isSpinning() const
Definition: spinner.cpp:202
int numberOfLines()
Definition: spinner.cpp:186