QStyleOptionProgressBar Class
The QStyleOptionProgressBar class describes the parameters for drawing a progress bar. More…
| Header | #include <QStyleOptionProgressBar> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Widgets) |
| Module | Nt Widgets C++ Classes |
| Inherits | QStyleOption |
List of all members, including inherited members
Public Functions
Public Variables
Detailed Description
See also QStyleOption and QProgressBar.
Member Function Documentation
QStyleOptionProgressBar::QStyleOptionProgressBar()
Constructs an option for a progress bar.
Member Variable Documentation
int QStyleOptionProgressBar::maximum
The value that stands for completion.
int QStyleOptionProgressBar::minimum
The value that stands for no progress.
int QStyleOptionProgressBar::progress
The current value, between minimum and maximum.
QString QStyleOptionProgressBar::text
The text to show on the bar.
bool QStyleOptionProgressBar::textVisible
Whether the text is drawn.