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

#include <ui4.h>

+ Collaboration diagram for DomGradientStop:

Public Member Functions

 DomGradientStop ()=default
 
 ~DomGradientStop ()
 
void read (QXmlStreamReader &reader)
 
void write (QXmlStreamWriter &writer, const QString &tagName=QString()) const
 
bool hasAttributePosition () const
 
double attributePosition () const
 
void setAttributePosition (double a)
 
void clearAttributePosition ()
 
DomColorelementColor () const
 
DomColortakeElementColor ()
 
void setElementColor (DomColor *a)
 
bool hasElementColor () const
 
void clearElementColor ()
 

Detailed Description

Definition at line 1270 of file ui4.h.

Constructor & Destructor Documentation

◆ DomGradientStop()

DomGradientStop::DomGradientStop ( )
default

◆ ~DomGradientStop()

DomGradientStop::~DomGradientStop ( )

Definition at line 2466 of file ui4.cpp.

Member Function Documentation

◆ attributePosition()

double DomGradientStop::attributePosition ( ) const
inline

Definition at line 1281 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ clearAttributePosition()

void DomGradientStop::clearAttributePosition ( )
inline

Definition at line 1283 of file ui4.h.

◆ clearElementColor()

void DomGradientStop::clearElementColor ( )

Definition at line 2532 of file ui4.cpp.

◆ elementColor()

DomColor * DomGradientStop::elementColor ( ) const
inline

Definition at line 1286 of file ui4.h.

◆ hasAttributePosition()

bool DomGradientStop::hasAttributePosition ( ) const
inline

Definition at line 1280 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ hasElementColor()

bool DomGradientStop::hasElementColor ( ) const
inline

Definition at line 1289 of file ui4.h.

◆ read()

void DomGradientStop::read ( QXmlStreamReader & reader)

Definition at line 2471 of file ui4.cpp.

References Qt::CaseInsensitive, setAttributePosition(), setElementColor(), and tag.

+ Here is the call graph for this function:

◆ setAttributePosition()

void DomGradientStop::setAttributePosition ( double a)
inline

Definition at line 1282 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementColor()

void DomGradientStop::setElementColor ( DomColor * a)

Definition at line 2525 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ takeElementColor()

DomColor * DomGradientStop::takeElementColor ( )

Definition at line 2517 of file ui4.cpp.

◆ write()

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

Definition at line 2504 of file ui4.cpp.

References attributePosition(), hasAttributePosition(), QString::isEmpty(), QString::number(), QStringLiteral, QString::toLower(), and DomColor::write().

+ Here is the call graph for this function:

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