CopperSpice API
1.9.2
|
The QStyleOptionComplex class holds parameters which are common to all complex controls. More...
Public Types | |
enum | StyleOptionType |
enum | StyleOptionVersion |
Public Types inherited from QStyleOption | |
enum | OptionType |
enum | StyleOptionType |
enum | StyleOptionVersion |
Public Methods | |
QStyleOptionComplex (const QStyleOptionComplex &other) | |
QStyleOptionComplex (int version=QStyleOptionComplex::Version, int type=SO_Complex) | |
QStyleOptionComplex & | operator= (const QStyleOptionComplex &other) = default |
Public Methods inherited from QStyleOption | |
QStyleOption (const QStyleOption &other) | |
QStyleOption (int version=QStyleOption::Version, int type=SO_Default) | |
~QStyleOption () | |
void | initFrom (const QWidget *widget) |
QStyleOption & | operator= (const QStyleOption &other) |
Additional Inherited Members | |
Public Members inherited from QStyleOption | |
int | type |
int | version |
Related Functions inherited from QStyleOption | |
T | qstyleoption_cast (const QStyleOption *option) |
T | qstyleoption_cast (QStyleOption *option) |
The QStyleOptionComplex class is holds parameters which are common to all complex controls. This class is not used on its own. Instead it is used to derive other complex control options, for example QStyleOptionSlider and QStyleOptionSpinBox.
This enum is used to hold information about the type of the style option and is defined for each QStyleOption subclass.
Constant | Value | Description |
---|---|---|
QStyleOptionComplex::Type | SO_Complex | The type of style option provided (SO_Complex for this class). |
This enum is used to hold information about the version of the style option and is defined for each QStyleOption subclass.
Constant | Value | Description |
---|---|---|
QStyleOptionComplex::Version | 1 | 1 |
QStyleOptionComplex::QStyleOptionComplex | ( | int | version = QStyleOptionComplex::Version , |
int | type = SO_Complex |
||
) |
Constructs a QStyleOptionComplex with the specified type and version. This constructor is usually called by subclasses.
|
inline |
Copy constructs a new QStyleOptionComplex from other.
|
default |
Copy assigns from other and returns a reference to this object.