Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQC2::QStyleOptionProgressBar Class Reference

#include <qquickstyleoption.h>

+ Inheritance diagram for QQC2::QStyleOptionProgressBar:
+ Collaboration diagram for QQC2::QStyleOptionProgressBar:

Public Types

enum  StyleOptionType { Type = SO_ProgressBar }
 
enum  StyleOptionVersion { Version = 2 }
 
- Public Types inherited from QQC2::QStyleOption
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)
 
QStyleOptionProgressBaroperator= (const QStyleOptionProgressBar &)=default
 
- Public Member Functions inherited from QQC2::QStyleOption
 QStyleOption (int version=QStyleOption::Version, int type=SO_Default)
 
 QStyleOption (const QStyleOption &other)
 Constructs a copy of other.
 
 ~QStyleOption ()
 Destroys this style option object.
 
QStyleOptionoperator= (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
 
- Public Attributes inherited from QQC2::QStyleOption
int version
 
int type
 
QStyle::State state
 
Qt::LayoutDirection direction
 
QRect rect
 
QFontMetrics fontMetrics
 
QPalette palette
 
QObjectstyleObject
 
QQuickItemcontrol
 
QWindowwindow
 

Protected Member Functions

 QStyleOptionProgressBar (int version)
 

Detailed Description

Definition at line 308 of file qquickstyleoption.h.

Member Enumeration Documentation

◆ StyleOptionType

Enumerator
Type 

Definition at line 311 of file qquickstyleoption.h.

◆ StyleOptionVersion

Enumerator
Version 

Definition at line 312 of file qquickstyleoption.h.

Constructor & Destructor Documentation

◆ QStyleOptionProgressBar() [1/3]

QStyleOptionProgressBar::QStyleOptionProgressBar ( )

Constructs a QStyleOptionProgressBar, initializing the members variables to their default values.

Definition at line 209 of file qquickstyleoption.cpp.

◆ QStyleOptionProgressBar() [2/3]

QQC2::QStyleOptionProgressBar::QStyleOptionProgressBar ( const QStyleOptionProgressBar & other)
inline

Definition at line 324 of file qquickstyleoption.h.

References other().

+ Here is the call graph for this function:

◆ QStyleOptionProgressBar() [3/3]

QStyleOptionProgressBar::QStyleOptionProgressBar ( int version)
protected

Definition at line 216 of file qquickstyleoption.cpp.

Member Function Documentation

◆ operator=()

QStyleOptionProgressBar & QQC2::QStyleOptionProgressBar::operator= ( const QStyleOptionProgressBar & )
default

Member Data Documentation

◆ bottomToTop

bool QQC2::QStyleOptionProgressBar::bottomToTop

Definition at line 321 of file qquickstyleoption.h.

◆ invertedAppearance

bool QQC2::QStyleOptionProgressBar::invertedAppearance

Definition at line 320 of file qquickstyleoption.h.

◆ maximum

int QQC2::QStyleOptionProgressBar::maximum

Definition at line 315 of file qquickstyleoption.h.

◆ minimum

int QQC2::QStyleOptionProgressBar::minimum

Definition at line 314 of file qquickstyleoption.h.

◆ progress

int QQC2::QStyleOptionProgressBar::progress

Definition at line 316 of file qquickstyleoption.h.

◆ text

QString QQC2::QStyleOptionProgressBar::text

Definition at line 317 of file qquickstyleoption.h.

◆ textAlignment

Qt::Alignment QQC2::QStyleOptionProgressBar::textAlignment

Definition at line 318 of file qquickstyleoption.h.

◆ textVisible

bool QQC2::QStyleOptionProgressBar::textVisible

Definition at line 319 of file qquickstyleoption.h.


The documentation for this class was generated from the following files: