mysocials-core 1.0
Public Slots | Public Member Functions | Protected Member Functions | Properties

QProgressIndicator Class Reference

The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way. More...

#include <QProgressIndicator.h>

List of all members.

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

Detailed Description

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.

See also:
QProgressBar

Member Function Documentation

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.

See also:
setAnimationDelay
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.

See also:
startAnimation
void QProgressIndicator::stopAnimation ( ) [slot]

Stops the animation of an indeterminate progress indicator.

See also:
stopAnimation

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