ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Member Functions | List of all members
Spinner Class Reference

#include <spinner.h>

Inheritance diagram for Spinner:

Public Slots

void start ()
 
void stop ()
 

Public Member Functions

 Spinner (QWidget *parent=0, bool centerOnParent=false, bool disableParentWhenSpinning=false)
 
 Spinner (Qt::WindowModality modality, QWidget *parent=0, 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)
 
void setText (QString text)
 
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)
 

Constructor & Destructor Documentation

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.

Member Function Documentation

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)
void Spinner::start ( )
slot
void Spinner::stop ( )
slot
qreal Spinner::trailFadePercentage ( )

The documentation for this class was generated from the following files: