6.0.0-rc4Source

QStyleOptionProgressBar Class

The QStyleOptionProgressBar class describes the parameters for drawing a progress bar. More…

Header#include <QStyleOptionProgressBar>
CMaketarget_link_libraries(app PRIVATE Nt::Widgets)
ModuleNt Widgets C++ Classes
InheritsQStyleOption

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.