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

#include <ui4.h>

+ Collaboration diagram for DomWidget:

Public Member Functions

 DomWidget ()=default
 
 ~DomWidget ()
 
void read (QXmlStreamReader &reader)
 
void write (QXmlStreamWriter &writer, const QString &tagName=QString()) const
 
bool hasAttributeClass () const
 
QString attributeClass () const
 
void setAttributeClass (const QString &a)
 
void clearAttributeClass ()
 
bool hasAttributeName () const
 
QString attributeName () const
 
void setAttributeName (const QString &a)
 
void clearAttributeName ()
 
bool hasAttributeNative () const
 
bool attributeNative () const
 
void setAttributeNative (bool a)
 
void clearAttributeNative ()
 
QStringList elementClass () const
 
void setElementClass (const QStringList &a)
 
QList< DomProperty * > elementProperty () const
 
void setElementProperty (const QList< DomProperty * > &a)
 
QList< DomProperty * > elementAttribute () const
 
void setElementAttribute (const QList< DomProperty * > &a)
 
QList< DomRow * > elementRow () const
 
void setElementRow (const QList< DomRow * > &a)
 
QList< DomColumn * > elementColumn () const
 
void setElementColumn (const QList< DomColumn * > &a)
 
QList< DomItem * > elementItem () const
 
void setElementItem (const QList< DomItem * > &a)
 
QList< DomLayout * > elementLayout () const
 
void setElementLayout (const QList< DomLayout * > &a)
 
QList< DomWidget * > elementWidget () const
 
void setElementWidget (const QList< DomWidget * > &a)
 
QList< DomAction * > elementAction () const
 
void setElementAction (const QList< DomAction * > &a)
 
QList< DomActionGroup * > elementActionGroup () const
 
void setElementActionGroup (const QList< DomActionGroup * > &a)
 
QList< DomActionRef * > elementAddAction () const
 
void setElementAddAction (const QList< DomActionRef * > &a)
 
QStringList elementZOrder () const
 
void setElementZOrder (const QStringList &a)
 

Detailed Description

Definition at line 1084 of file ui4.h.

Constructor & Destructor Documentation

◆ DomWidget()

DomWidget::DomWidget ( )
default

Referenced by read().

+ Here is the caller graph for this function:

◆ ~DomWidget()

DomWidget::~DomWidget ( )

Definition at line 2052 of file ui4.cpp.

References QList< T >::clear(), and qDeleteAll().

+ Here is the call graph for this function:

Member Function Documentation

◆ attributeClass()

QString DomWidget::attributeClass ( ) const
inline

Definition at line 1095 of file ui4.h.

Referenced by CPP::WriteInitialization::acceptUI(), CPP::WriteDeclaration::acceptWidget(), CPP::WriteInitialization::acceptWidget(), WriteIncludesBase::acceptWidget(), and write().

+ Here is the caller graph for this function:

◆ attributeName()

QString DomWidget::attributeName ( ) const
inline

Definition at line 1100 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ attributeNative()

bool DomWidget::attributeNative ( ) const
inline

Definition at line 1105 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ clearAttributeClass()

void DomWidget::clearAttributeClass ( )
inline

Definition at line 1097 of file ui4.h.

◆ clearAttributeName()

void DomWidget::clearAttributeName ( )
inline

Definition at line 1102 of file ui4.h.

◆ clearAttributeNative()

void DomWidget::clearAttributeNative ( )
inline

Definition at line 1107 of file ui4.h.

◆ elementAction()

QList< DomAction * > DomWidget::elementAction ( ) const
inline

Definition at line 1134 of file ui4.h.

◆ elementActionGroup()

QList< DomActionGroup * > DomWidget::elementActionGroup ( ) const
inline

Definition at line 1137 of file ui4.h.

◆ elementAddAction()

QList< DomActionRef * > DomWidget::elementAddAction ( ) const
inline

Definition at line 1140 of file ui4.h.

◆ elementAttribute()

QList< DomProperty * > DomWidget::elementAttribute ( ) const
inline

Definition at line 1116 of file ui4.h.

Referenced by CPP::WriteInitialization::acceptWidget().

+ Here is the caller graph for this function:

◆ elementClass()

QStringList DomWidget::elementClass ( ) const
inline

Definition at line 1110 of file ui4.h.

◆ elementColumn()

QList< DomColumn * > DomWidget::elementColumn ( ) const
inline

Definition at line 1122 of file ui4.h.

◆ elementItem()

QList< DomItem * > DomWidget::elementItem ( ) const
inline

Definition at line 1125 of file ui4.h.

◆ elementLayout()

QList< DomLayout * > DomWidget::elementLayout ( ) const
inline

Definition at line 1128 of file ui4.h.

Referenced by CPP::WriteInitialization::acceptWidget().

+ Here is the caller graph for this function:

◆ elementProperty()

QList< DomProperty * > DomWidget::elementProperty ( ) const
inline

Definition at line 1113 of file ui4.h.

Referenced by CPP::WriteInitialization::acceptWidget(), and DatabaseInfo::acceptWidget().

+ Here is the caller graph for this function:

◆ elementRow()

QList< DomRow * > DomWidget::elementRow ( ) const
inline

Definition at line 1119 of file ui4.h.

◆ elementWidget()

QList< DomWidget * > DomWidget::elementWidget ( ) const
inline

Definition at line 1131 of file ui4.h.

◆ elementZOrder()

QStringList DomWidget::elementZOrder ( ) const
inline

Definition at line 1143 of file ui4.h.

Referenced by CPP::WriteInitialization::acceptWidget().

+ Here is the caller graph for this function:

◆ hasAttributeClass()

bool DomWidget::hasAttributeClass ( ) const
inline

Definition at line 1094 of file ui4.h.

Referenced by CPP::WriteDeclaration::acceptWidget(), and write().

+ Here is the caller graph for this function:

◆ hasAttributeName()

bool DomWidget::hasAttributeName ( ) const
inline

Definition at line 1099 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ hasAttributeNative()

bool DomWidget::hasAttributeNative ( ) const
inline

Definition at line 1104 of file ui4.h.

Referenced by CPP::WriteInitialization::acceptWidget(), and write().

+ Here is the caller graph for this function:

◆ read()

void DomWidget::read ( QXmlStreamReader & reader)

Definition at line 2078 of file ui4.cpp.

References DomWidget(), QList< T >::append(), Qt::CaseInsensitive, qWarning, setAttributeClass(), setAttributeName(), setAttributeNative(), and tag.

+ Here is the call graph for this function:

◆ setAttributeClass()

void DomWidget::setAttributeClass ( const QString & a)
inline

Definition at line 1096 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setAttributeName()

void DomWidget::setAttributeName ( const QString & a)
inline

Definition at line 1101 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setAttributeNative()

void DomWidget::setAttributeNative ( bool a)
inline

Definition at line 1106 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementAction()

void DomWidget::setElementAction ( const QList< DomAction * > & a)

Definition at line 2291 of file ui4.cpp.

◆ setElementActionGroup()

void DomWidget::setElementActionGroup ( const QList< DomActionGroup * > & a)

Definition at line 2297 of file ui4.cpp.

◆ setElementAddAction()

void DomWidget::setElementAddAction ( const QList< DomActionRef * > & a)

Definition at line 2303 of file ui4.cpp.

◆ setElementAttribute()

void DomWidget::setElementAttribute ( const QList< DomProperty * > & a)

Definition at line 2255 of file ui4.cpp.

◆ setElementClass()

void DomWidget::setElementClass ( const QStringList & a)

Definition at line 2243 of file ui4.cpp.

◆ setElementColumn()

void DomWidget::setElementColumn ( const QList< DomColumn * > & a)

Definition at line 2267 of file ui4.cpp.

◆ setElementItem()

void DomWidget::setElementItem ( const QList< DomItem * > & a)

Definition at line 2273 of file ui4.cpp.

◆ setElementLayout()

void DomWidget::setElementLayout ( const QList< DomLayout * > & a)

Definition at line 2279 of file ui4.cpp.

◆ setElementProperty()

void DomWidget::setElementProperty ( const QList< DomProperty * > & a)

Definition at line 2249 of file ui4.cpp.

◆ setElementRow()

void DomWidget::setElementRow ( const QList< DomRow * > & a)

Definition at line 2261 of file ui4.cpp.

◆ setElementWidget()

void DomWidget::setElementWidget ( const QList< DomWidget * > & a)

Definition at line 2285 of file ui4.cpp.

◆ setElementZOrder()

void DomWidget::setElementZOrder ( const QStringList & a)

Definition at line 2309 of file ui4.cpp.

◆ write()

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

Definition at line 2191 of file ui4.cpp.

References attributeClass(), attributeName(), attributeNative(), hasAttributeClass(), hasAttributeName(), hasAttributeNative(), QString::isEmpty(), QStringLiteral, and QString::toLower().

Referenced by DomUI::write(), and DomLayoutItem::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: