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

#include <ui4.h>

+ Collaboration diagram for DomColor:

Public Member Functions

 DomColor ()=default
 
 ~DomColor ()
 
void read (QXmlStreamReader &reader)
 
void write (QXmlStreamWriter &writer, const QString &tagName=QString()) const
 
bool hasAttributeAlpha () const
 
int attributeAlpha () const
 
void setAttributeAlpha (int a)
 
void clearAttributeAlpha ()
 
int elementRed () const
 
void setElementRed (int a)
 
bool hasElementRed () const
 
void clearElementRed ()
 
int elementGreen () const
 
void setElementGreen (int a)
 
bool hasElementGreen () const
 
void clearElementGreen ()
 
int elementBlue () const
 
void setElementBlue (int a)
 
bool hasElementBlue () const
 
void clearElementBlue ()
 

Detailed Description

Definition at line 1221 of file ui4.h.

Constructor & Destructor Documentation

◆ DomColor()

DomColor::DomColor ( )
default

◆ ~DomColor()

DomColor::~DomColor ( )
default

Member Function Documentation

◆ attributeAlpha()

int DomColor::attributeAlpha ( ) const
inline

Definition at line 1232 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ clearAttributeAlpha()

void DomColor::clearAttributeAlpha ( )
inline

Definition at line 1234 of file ui4.h.

◆ clearElementBlue()

void DomColor::clearElementBlue ( )

Definition at line 2461 of file ui4.cpp.

◆ clearElementGreen()

void DomColor::clearElementGreen ( )

Definition at line 2456 of file ui4.cpp.

◆ clearElementRed()

void DomColor::clearElementRed ( )

Definition at line 2451 of file ui4.cpp.

◆ elementBlue()

int DomColor::elementBlue ( ) const
inline

Definition at line 1247 of file ui4.h.

◆ elementGreen()

int DomColor::elementGreen ( ) const
inline

Definition at line 1242 of file ui4.h.

◆ elementRed()

int DomColor::elementRed ( ) const
inline

Definition at line 1237 of file ui4.h.

◆ hasAttributeAlpha()

bool DomColor::hasAttributeAlpha ( ) const
inline

Definition at line 1231 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ hasElementBlue()

bool DomColor::hasElementBlue ( ) const
inline

Definition at line 1249 of file ui4.h.

References Blue.

◆ hasElementGreen()

bool DomColor::hasElementGreen ( ) const
inline

Definition at line 1244 of file ui4.h.

References Green.

◆ hasElementRed()

bool DomColor::hasElementRed ( ) const
inline

Definition at line 1239 of file ui4.h.

References Red.

◆ read()

void DomColor::read ( QXmlStreamReader & reader)

Definition at line 2375 of file ui4.cpp.

References Qt::CaseInsensitive, setAttributeAlpha(), setElementBlue(), setElementGreen(), setElementRed(), and tag.

+ Here is the call graph for this function:

◆ setAttributeAlpha()

void DomColor::setAttributeAlpha ( int a)
inline

Definition at line 1233 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementBlue()

void DomColor::setElementBlue ( int a)

Definition at line 2445 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementGreen()

void DomColor::setElementGreen ( int a)

Definition at line 2439 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementRed()

void DomColor::setElementRed ( int a)

Definition at line 2433 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ write()

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

Definition at line 2414 of file ui4.cpp.

References attributeAlpha(), hasAttributeAlpha(), QString::isEmpty(), QString::number(), QStringLiteral, and QString::toLower().

Referenced by DomGradientStop::write(), DomBrush::write(), and DomProperty::write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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