Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QStyleOptionProgressBar class is used to describe the parameters necessary for drawing a progress bar. More...
#include <QStyleOptionProgressBar>
Inherits QStyleOption.
The QStyleOptionProgressBar class is used to describe the parameters necessary for drawing a progress bar.
The QStyleOptionProgressBar structure is used to draw QProgressBars.
This describes features for a progress bar.
QStyleOptionProgressBar::None | Indicates a normal progress bar. |
QStyleOptionProgressBar::CenterIndicator | Indicates that the percentage indicator progressBarString should be centered. |
QStyleOptionProgressBar::PercentageVisible | Indicates that the progressBarString should also be drawn |
QStyleOptionProgressBar::IndicatorFollowsStyle | Indicates that the progressBarString should follow the style. |
The ProgressBarFeatures typedef can store a combination of ProgressBarFeature values.
See also QProgressBar::percentageVisible, ., features, QProgressBar::indicatorFollowsStyle, and QProgressBar::centerIndicator.
This property holds describes the features of the progress bar.
This is a bitwise OR of the features of the progress bar.
See also ProgressBarFeature.
This property holds the current progress for the progress bar.
The current progress. If the value is -1, it indicates that the progress hasn't started yet.
This property holds the progress of the progress bar as a string.
This is the progress in terms of a string. If the string is empty, it indicates that the progress bar hasn't started yet.
See also QProgressBar::progressString.
This property holds the total steps for the progress bar.
The total number of steps for the progress bar. If the totalSteps is zero, it indicates that a busy indicator should be drawn instead of a standard progress bar.
See also QProgressBar::totalSteps.
Construct a QStyleOptionProgressBar with version version. The values are either 0 or empty. It is the responsibilty of the developer to populate the structure with the proper values.
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp1 |