28#ifndef QPROGRESSINDICATOR_H_
29#define QPROGRESSINDICATOR_H_
73 const QColor &
color()
const {
return m_color; }
117 bool m_displayedWhenStopped;
The QProgressIndicator class lets an application display a progress indicator to show that a lengthy ...
virtual void timerEvent(QTimerEvent *event)
QProgressIndicator::timerEvent do the actual animation.
void stopAnimation()
Stops the spin animation.
virtual void paintEvent(QPaintEvent *event)
QProgressIndicator::paintEvent draw the spinner.
bool isDisplayedWhenStopped() const
Returns a Boolean value indicating whether the receiver shows itself even when it is not animating.
void startAnimation()
Starts the spin animation.
void setColor(const QColor &color)
Sets the color of the components to the given color.
virtual QSize sizeHint() const
QProgressIndicator::sizeHint default minimum size.
int animationDelay() const
Returns the delay between animation steps.
bool isAnimated() const
Returns a Boolean value indicating whether the component is currently animated.
void setDisplayedWhenStopped(bool state)
Sets whether the component hides itself when it is not animating.
void setAnimationDelay(int delay)
Sets the delay between animation steps.
const QColor & color() const
Returns the color of the component.
int heightForWidth(int w) const
QProgressIndicator::heightForWidth square ratio.