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
DomColorRole Class Reference

#include <ui4.h>

+ Collaboration diagram for DomColorRole:

Public Member Functions

 DomColorRole ()=default
 
 ~DomColorRole ()
 
void read (QXmlStreamReader &reader)
 
void write (QXmlStreamWriter &writer, const QString &tagName=QString()) const
 
bool hasAttributeRole () const
 
QString attributeRole () const
 
void setAttributeRole (const QString &a)
 
void clearAttributeRole ()
 
DomBrushelementBrush () const
 
DomBrushtakeElementBrush ()
 
void setElementBrush (DomBrush *a)
 
bool hasElementBrush () const
 
void clearElementBrush ()
 

Detailed Description

Definition at line 1480 of file ui4.h.

Constructor & Destructor Documentation

◆ DomColorRole()

DomColorRole::DomColorRole ( )
default

◆ ~DomColorRole()

DomColorRole::~DomColorRole ( )

Definition at line 2817 of file ui4.cpp.

Member Function Documentation

◆ attributeRole()

QString DomColorRole::attributeRole ( ) const
inline

Definition at line 1491 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ clearAttributeRole()

void DomColorRole::clearAttributeRole ( )
inline

Definition at line 1493 of file ui4.h.

◆ clearElementBrush()

void DomColorRole::clearElementBrush ( )

Definition at line 2883 of file ui4.cpp.

◆ elementBrush()

DomBrush * DomColorRole::elementBrush ( ) const
inline

Definition at line 1496 of file ui4.h.

◆ hasAttributeRole()

bool DomColorRole::hasAttributeRole ( ) const
inline

Definition at line 1490 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ hasElementBrush()

bool DomColorRole::hasElementBrush ( ) const
inline

Definition at line 1499 of file ui4.h.

◆ read()

void DomColorRole::read ( QXmlStreamReader & reader)

Definition at line 2822 of file ui4.cpp.

References Qt::CaseInsensitive, setAttributeRole(), setElementBrush(), and tag.

+ Here is the call graph for this function:

◆ setAttributeRole()

void DomColorRole::setAttributeRole ( const QString & a)
inline

Definition at line 1492 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementBrush()

void DomColorRole::setElementBrush ( DomBrush * a)

Definition at line 2876 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ takeElementBrush()

DomBrush * DomColorRole::takeElementBrush ( )

Definition at line 2868 of file ui4.cpp.

◆ write()

void DomColorRole::write ( QXmlStreamWriter & writer,
const QString & tagName = QString() ) const

Definition at line 2855 of file ui4.cpp.

References attributeRole(), hasAttributeRole(), QString::isEmpty(), QStringLiteral, QString::toLower(), and DomBrush::write().

+ Here is the call graph for this function:

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