#include <spinner.h>
Spinner::Spinner |
( |
QWidget * |
parent = 0 , |
|
|
bool |
centerOnParent = false , |
|
|
bool |
disableParentWhenSpinning = false |
|
) |
| |
Constructor for "standard" widget behaviour - use this constructor if you wish to, e.g. embed your widget in another.
Spinner::Spinner |
( |
Qt::WindowModality |
modality, |
|
|
QWidget * |
parent = 0 , |
|
|
bool |
centerOnParent = true , |
|
|
bool |
disableParentWhenSpinning = true |
|
) |
| |
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.
QColor Spinner::color |
( |
| ) |
|
int Spinner::innerRadius |
( |
| ) |
|
bool Spinner::isSpinning |
( |
| ) |
const |
int Spinner::lineLength |
( |
| ) |
|
int Spinner::lineWidth |
( |
| ) |
|
qreal Spinner::minimumTrailOpacity |
( |
| ) |
|
int Spinner::numberOfLines |
( |
| ) |
|
void Spinner::paintEvent |
( |
QPaintEvent * |
paintEvent | ) |
|
|
protected |
qreal Spinner::revolutionsPersSecond |
( |
| ) |
|
qreal Spinner::roundness |
( |
| ) |
|
void Spinner::setColor |
( |
QColor |
color | ) |
|
void Spinner::setInnerRadius |
( |
int |
radius | ) |
|
void Spinner::setLineLength |
( |
int |
length | ) |
|
void Spinner::setLineWidth |
( |
int |
width | ) |
|
void Spinner::setMinimumTrailOpacity |
( |
qreal |
minimumTrailOpacity | ) |
|
void Spinner::setNumberOfLines |
( |
int |
lines | ) |
|
void Spinner::setRevolutionsPerSecond |
( |
qreal |
revolutionsPerSecond | ) |
|
void Spinner::setRoundness |
( |
qreal |
roundness | ) |
|
void Spinner::setText |
( |
QString |
text | ) |
|
void Spinner::setTrailFadePercentage |
( |
qreal |
trail | ) |
|
qreal Spinner::trailFadePercentage |
( |
| ) |
|
The documentation for this class was generated from the following files: