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>.
|
#include <ui4.h>
Public Types | |
enum | Kind { Unknown = 0 , Color , Texture , Gradient } |
Public Member Functions | |
DomBrush ()=default | |
~DomBrush () | |
void | read (QXmlStreamReader &reader) |
void | write (QXmlStreamWriter &writer, const QString &tagName=QString()) const |
bool | hasAttributeBrushStyle () const |
QString | attributeBrushStyle () const |
void | setAttributeBrushStyle (const QString &a) |
void | clearAttributeBrushStyle () |
Kind | kind () const |
DomColor * | elementColor () const |
DomColor * | takeElementColor () |
void | setElementColor (DomColor *a) |
DomProperty * | elementTexture () const |
DomProperty * | takeElementTexture () |
void | setElementTexture (DomProperty *a) |
DomGradient * | elementGradient () const |
DomGradient * | takeElementGradient () |
void | setElementGradient (DomGradient *a) |
enum DomBrush::Kind |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void DomBrush::read | ( | QXmlStreamReader & | reader | ) |
Definition at line 2701 of file ui4.cpp.
References Qt::CaseInsensitive, setAttributeBrushStyle(), setElementColor(), setElementGradient(), setElementTexture(), and tag.
void DomBrush::setElementGradient | ( | DomGradient * | a | ) |
void DomBrush::setElementTexture | ( | DomProperty * | a | ) |
DomGradient * DomBrush::takeElementGradient | ( | ) |
DomProperty * DomBrush::takeElementTexture | ( | ) |
Definition at line 2746 of file ui4.cpp.
References attributeBrushStyle(), Color, Gradient, hasAttributeBrushStyle(), QString::isEmpty(), kind(), QStringLiteral, Texture, QString::toLower(), DomColor::write(), DomGradient::write(), and DomProperty::write().
Referenced by DomColorRole::write(), and DomProperty::write().