CopperSpice API  1.9.2
QStyleOptionDockWidget Class Reference

The QStyleOptionDockWidget class is used to describe the parameters for drawing a dock widget. More...

Inheritance diagram for QStyleOptionDockWidget:
QStyleOption

Public Types

enum  StyleOptionType
 
enum  StyleOptionVersion
 
- Public Types inherited from QStyleOption
enum  OptionType
 
enum  StyleOptionType
 
enum  StyleOptionVersion
 

Public Methods

 QStyleOptionDockWidget ()
 
 QStyleOptionDockWidget (const QStyleOptionDockWidget &other)
 
QStyleOptionDockWidget & operator= (const QStyleOptionDockWidget &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
 

Detailed Description

The QStyleOptionDockWidget class is used to describe the parameters for drawing a dock widget. QStyleOptionDockWidget contains all the information that QStyle functions need to draw graphical elements like QDockWidget.

See also
QStyleOption

Member Enumeration Documentation

This enum is used to hold information about the type of the style option, and is defined for each QStyleOption subclass.

ConstantValueDescription
QStyleOptionDockWidget::TypeSO_DockWidget The type of style option provided (SO_DockWidget for this class).
See also
StyleOptionVersion, qstyleoption_cast()

This enum is used to hold information about the version of the style option, and is defined for each QStyleOption subclass.

ConstantValueDescription
QStyleOptionDockWidget::Version11
See also
StyleOptionType, qstyleoption_cast()

Constructor & Destructor Documentation

QStyleOptionDockWidget::QStyleOptionDockWidget ( )

Constructs an empty QStyleOptionDockWidget.

QStyleOptionDockWidget::QStyleOptionDockWidget ( const QStyleOptionDockWidget &  other)
inline

Copy constructs a new QStyleOptionDockWidget from other.

Method Documentation

QStyleOptionDockWidget & QStyleOptionDockWidget::operator= ( const QStyleOptionDockWidget &  other)
default

Copy assigns from other and returns a reference to this object.