mysocials-core 1.0
|
The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way. More...
#include <QProgressIndicator.h>
Public Slots | |
void | startAnimation () |
Starts the animation of an indeterminate progress indicator. | |
void | stopAnimation () |
void | setAnimationDelay (int delay) |
Public Member Functions | |
QProgressIndicator (QWidget *parent=0) | |
int | animationDelay () const |
virtual QSize | sizeHint () const |
int | heightForWidth (int w) const |
Protected Member Functions | |
virtual void | timerEvent (QTimerEvent *event) |
virtual void | paintEvent (QPaintEvent *event) |
Properties | |
int | delay |
The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way.
Progress indicators are indeterminate and do nothing more than spin to show that the application is busy.
int QProgressIndicator::animationDelay | ( | ) | const [inline] |
Returns the delay, in milliseconds, between animation steps for an indeterminate progress indicator.
The delay between animation steps. By default, the animation delay is set to 40 milliseconds.
void QProgressIndicator::setAnimationDelay | ( | int | delay | ) | [slot] |
Sets the delay, in milliseconds, between animation steps for an indeterminate progress indicator.
The number of milliseconds between animation steps. By default, the animation delay is set to 40 milliseconds. Setting the delay to a value larger than 40 slows the animation, while setting the delay to a smaller value speeds it up.
void QProgressIndicator::stopAnimation | ( | ) | [slot] |
Stops the animation of an indeterminate progress indicator.