Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QCss::ColorData Struct Reference

#include <qcssparser_p.h>

Public Types

enum  { Invalid, Color, Role }
 

Public Functions

 ColorData ()
 
 ColorData (const QColor &col)
 
 ColorData (QPalette::ColorRole r)
 

Public Variables

QColor color
 
QPalette::ColorRole role
 
enum QCss::ColorData:: { ... }  type
 

Detailed Description

Definition at line 376 of file qcssparser_p.h.

Enumerations

◆ anonymous enum

anonymous enum
Enumerator
Invalid 
Color 
Role 

Definition at line 382 of file qcssparser_p.h.

Constructors and Destructors

◆ ColorData() [1/3]

QCss::ColorData::ColorData ( )
inline

Definition at line 377 of file qcssparser_p.h.

QPalette::ColorRole role
Definition: qcssparser_p.h:381
enum QCss::ColorData::@264 type

◆ ColorData() [2/3]

QCss::ColorData::ColorData ( const QColor col)
inline

Definition at line 378 of file qcssparser_p.h.

378 : color(col), role(QPalette::NoRole), type(Color) {}
QPalette::ColorRole role
Definition: qcssparser_p.h:381
enum QCss::ColorData::@264 type

◆ ColorData() [3/3]

QCss::ColorData::ColorData ( QPalette::ColorRole  r)
inline

Definition at line 379 of file qcssparser_p.h.

379 : role(r), type(Role) {}
QPalette::ColorRole role
Definition: qcssparser_p.h:381
enum QCss::ColorData::@264 type

Properties

◆ color

QColor QCss::ColorData::color

◆ role

QPalette::ColorRole QCss::ColorData::role

◆ type

enum { ... } QCss::ColorData::type

The documentation for this struct was generated from the following file: