![]() |
Qt 6.x
The Qt SDK
|
#include <qquickstyleoption.h>
Public Types | |
enum | StyleOptionType { Type = SO_ProgressBar } |
enum | StyleOptionVersion { Version = 2 } |
![]() | |
enum | OptionType { SO_Default , SO_FocusRect , SO_Button , SO_Tab , SO_MenuItem , SO_Frame , SO_ProgressBar , SO_ToolBox , SO_Header , SO_DockWidget , SO_ViewItem , SO_TabWidgetFrame , SO_TabBarBase , SO_RubberBand , SO_ToolBar , SO_GraphicsItem , SO_Complex = 0xf0000 , SO_Slider , SO_SpinBox , SO_ToolButton , SO_ComboBox , SO_TitleBar , SO_GroupBox , SO_SizeGrip , SO_CustomBase = 0xf00 , SO_ComplexCustomBase = 0xf000000 } |
enum | StyleOptionType { Type = SO_Default } |
enum | StyleOptionVersion { Version = 1 } |
Public Member Functions | |
QStyleOptionProgressBar () | |
Constructs a QStyleOptionProgressBar, initializing the members variables to their default values. | |
QStyleOptionProgressBar (const QStyleOptionProgressBar &other) | |
QStyleOptionProgressBar & | operator= (const QStyleOptionProgressBar &)=default |
![]() | |
QStyleOption (int version=QStyleOption::Version, int type=SO_Default) | |
QStyleOption (const QStyleOption &other) | |
Constructs a copy of other. | |
~QStyleOption () | |
Destroys this style option object. | |
QStyleOption & | operator= (const QStyleOption &other) |
Assign other to this QStyleOption. | |
Public Attributes | |
int | minimum |
int | maximum |
int | progress |
QString | text |
Qt::Alignment | textAlignment |
bool | textVisible |
bool | invertedAppearance |
bool | bottomToTop |
![]() | |
int | version |
int | type |
QStyle::State | state |
Qt::LayoutDirection | direction |
QRect | rect |
QFontMetrics | fontMetrics |
QPalette | palette |
QObject * | styleObject |
QQuickItem * | control |
QWindow * | window |
Protected Member Functions | |
QStyleOptionProgressBar (int version) | |
Definition at line 304 of file qquickstyleoption.h.
Enumerator | |
---|---|
Type |
Definition at line 307 of file qquickstyleoption.h.
Enumerator | |
---|---|
Version |
Definition at line 308 of file qquickstyleoption.h.
QStyleOptionProgressBar::QStyleOptionProgressBar | ( | ) |
Constructs a QStyleOptionProgressBar, initializing the members variables to their default values.
Definition at line 209 of file qquickstyleoption.cpp.
|
inline |
Definition at line 320 of file qquickstyleoption.h.
References other().
|
protected |
Definition at line 216 of file qquickstyleoption.cpp.
|
default |
bool QQC2::QStyleOptionProgressBar::bottomToTop |
Definition at line 317 of file qquickstyleoption.h.
bool QQC2::QStyleOptionProgressBar::invertedAppearance |
Definition at line 316 of file qquickstyleoption.h.
int QQC2::QStyleOptionProgressBar::maximum |
Definition at line 311 of file qquickstyleoption.h.
int QQC2::QStyleOptionProgressBar::minimum |
Definition at line 310 of file qquickstyleoption.h.
int QQC2::QStyleOptionProgressBar::progress |
Definition at line 312 of file qquickstyleoption.h.
QString QQC2::QStyleOptionProgressBar::text |
Definition at line 313 of file qquickstyleoption.h.
Qt::Alignment QQC2::QStyleOptionProgressBar::textAlignment |
Definition at line 314 of file qquickstyleoption.h.
bool QQC2::QStyleOptionProgressBar::textVisible |
Definition at line 315 of file qquickstyleoption.h.