Quark  0.1
ActivityIndicator Class Reference

An animated component (a "throbber") that indicates ongoing activity in an application. More...

#include <ActivityIndicator.h++>

Inheritance diagram for ActivityIndicator:

Public Slots

void setColor (const QColor &color)
 Sets the foreground color for the component. More...
 
void setActive (bool busy)
 Starts or stops the animation. More...
 
void start ()
 Starts the animation. More...
 
void stop ()
 Stops the animation. More...
 

Public Member Functions

 ActivityIndicator (QWidget *parent=NULL)
 Constructor. More...
 
virtual ~ActivityIndicator ()
 Destructor. More...
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 

Detailed Description

An animated component (a "throbber") that indicates ongoing activity in an application.

The component can be scaled to any desired size.

Author
Mark Lindner

Constructor & Destructor Documentation

◆ ActivityIndicator()

ActivityIndicator ( QWidget *  parent = NULL)
explicit

Constructor.

◆ ~ActivityIndicator()

virtual ~ActivityIndicator ( )
virtual

Destructor.

Member Function Documentation

◆ paintEvent()

virtual void paintEvent ( QPaintEvent *  event)
protectedvirtual

◆ resizeEvent()

virtual void resizeEvent ( QResizeEvent *  event)
protectedvirtual

◆ setActive

void setActive ( bool  busy)
slot

Starts or stops the animation.

◆ setColor

void setColor ( const QColor &  color)
slot

Sets the foreground color for the component.

◆ start

void start ( )
slot

Starts the animation.

◆ stop

void stop ( )
slot

Stops the animation.


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