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

#include <ui4.h>

+ Collaboration diagram for DomProperty:

Public Types

enum  Kind {
  Unknown = 0 , Bool , Color , Cstring ,
  Cursor , CursorShape , Enum , Font ,
  IconSet , Pixmap , Palette , Point ,
  Rect , Set , Locale , SizePolicy ,
  Size , String , StringList , Number ,
  Float , Double , Date , Time ,
  DateTime , PointF , RectF , SizeF ,
  LongLong , Char , Url , UInt ,
  ULongLong , Brush
}
 

Public Member Functions

 DomProperty ()=default
 
 ~DomProperty ()
 
void read (QXmlStreamReader &reader)
 
void write (QXmlStreamWriter &writer, const QString &tagName=QString()) const
 
bool hasAttributeName () const
 
QString attributeName () const
 
void setAttributeName (const QString &a)
 
void clearAttributeName ()
 
bool hasAttributeStdset () const
 
int attributeStdset () const
 
void setAttributeStdset (int a)
 
void clearAttributeStdset ()
 
Kind kind () const
 
QString elementBool () const
 
void setElementBool (const QString &a)
 
DomColorelementColor () const
 
DomColortakeElementColor ()
 
void setElementColor (DomColor *a)
 
QString elementCstring () const
 
void setElementCstring (const QString &a)
 
int elementCursor () const
 
void setElementCursor (int a)
 
QString elementCursorShape () const
 
void setElementCursorShape (const QString &a)
 
QString elementEnum () const
 
void setElementEnum (const QString &a)
 
DomFontelementFont () const
 
DomFonttakeElementFont ()
 
void setElementFont (DomFont *a)
 
DomResourceIconelementIconSet () const
 
DomResourceIcontakeElementIconSet ()
 
void setElementIconSet (DomResourceIcon *a)
 
DomResourcePixmapelementPixmap () const
 
DomResourcePixmaptakeElementPixmap ()
 
void setElementPixmap (DomResourcePixmap *a)
 
DomPaletteelementPalette () const
 
DomPalettetakeElementPalette ()
 
void setElementPalette (DomPalette *a)
 
DomPointelementPoint () const
 
DomPointtakeElementPoint ()
 
void setElementPoint (DomPoint *a)
 
DomRectelementRect () const
 
DomRecttakeElementRect ()
 
void setElementRect (DomRect *a)
 
QString elementSet () const
 
void setElementSet (const QString &a)
 
DomLocaleelementLocale () const
 
DomLocaletakeElementLocale ()
 
void setElementLocale (DomLocale *a)
 
DomSizePolicyelementSizePolicy () const
 
DomSizePolicytakeElementSizePolicy ()
 
void setElementSizePolicy (DomSizePolicy *a)
 
DomSizeelementSize () const
 
DomSizetakeElementSize ()
 
void setElementSize (DomSize *a)
 
DomStringelementString () const
 
DomStringtakeElementString ()
 
void setElementString (DomString *a)
 
DomStringListelementStringList () const
 
DomStringListtakeElementStringList ()
 
void setElementStringList (DomStringList *a)
 
int elementNumber () const
 
void setElementNumber (int a)
 
float elementFloat () const
 
void setElementFloat (float a)
 
double elementDouble () const
 
void setElementDouble (double a)
 
DomDateelementDate () const
 
DomDatetakeElementDate ()
 
void setElementDate (DomDate *a)
 
DomTimeelementTime () const
 
DomTimetakeElementTime ()
 
void setElementTime (DomTime *a)
 
DomDateTimeelementDateTime () const
 
DomDateTimetakeElementDateTime ()
 
void setElementDateTime (DomDateTime *a)
 
DomPointFelementPointF () const
 
DomPointFtakeElementPointF ()
 
void setElementPointF (DomPointF *a)
 
DomRectFelementRectF () const
 
DomRectFtakeElementRectF ()
 
void setElementRectF (DomRectF *a)
 
DomSizeFelementSizeF () const
 
DomSizeFtakeElementSizeF ()
 
void setElementSizeF (DomSizeF *a)
 
qlonglong elementLongLong () const
 
void setElementLongLong (qlonglong a)
 
DomCharelementChar () const
 
DomChartakeElementChar ()
 
void setElementChar (DomChar *a)
 
DomUrlelementUrl () const
 
DomUrltakeElementUrl ()
 
void setElementUrl (DomUrl *a)
 
uint elementUInt () const
 
void setElementUInt (uint a)
 
qulonglong elementULongLong () const
 
void setElementULongLong (qulonglong a)
 
DomBrushelementBrush () const
 
DomBrushtakeElementBrush ()
 
void setElementBrush (DomBrush *a)
 

Detailed Description

Definition at line 2450 of file ui4.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Unknown 
Bool 
Color 
Cstring 
Cursor 
CursorShape 
Enum 
Font 
IconSet 
Pixmap 
Palette 
Point 
Rect 
Set 
Locale 
SizePolicy 
Size 
String 
StringList 
Number 
Float 
Double 
Date 
Time 
DateTime 
PointF 
RectF 
SizeF 
LongLong 
Char 
Url 
UInt 
ULongLong 
Brush 

Definition at line 2471 of file ui4.h.

Constructor & Destructor Documentation

◆ DomProperty()

DomProperty::DomProperty ( )
default

◆ ~DomProperty()

DomProperty::~DomProperty ( )

Definition at line 4831 of file ui4.cpp.

Member Function Documentation

◆ attributeName()

QString DomProperty::attributeName ( ) const
inline

Definition at line 2461 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ attributeStdset()

int DomProperty::attributeStdset ( ) const
inline

Definition at line 2466 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ clearAttributeName()

void DomProperty::clearAttributeName ( )
inline

Definition at line 2463 of file ui4.h.

◆ clearAttributeStdset()

void DomProperty::clearAttributeStdset ( )
inline

Definition at line 2468 of file ui4.h.

◆ elementBool()

QString DomProperty::elementBool ( ) const
inline

Definition at line 2474 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementBrush()

DomBrush * DomProperty::elementBrush ( ) const
inline

Definition at line 2590 of file ui4.h.

◆ elementChar()

DomChar * DomProperty::elementChar ( ) const
inline

Definition at line 2576 of file ui4.h.

◆ elementColor()

DomColor * DomProperty::elementColor ( ) const
inline

Definition at line 2477 of file ui4.h.

◆ elementCstring()

QString DomProperty::elementCstring ( ) const
inline

Definition at line 2481 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementCursor()

int DomProperty::elementCursor ( ) const
inline

Definition at line 2484 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementCursorShape()

QString DomProperty::elementCursorShape ( ) const
inline

Definition at line 2487 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementDate()

DomDate * DomProperty::elementDate ( ) const
inline

Definition at line 2549 of file ui4.h.

◆ elementDateTime()

DomDateTime * DomProperty::elementDateTime ( ) const
inline

Definition at line 2557 of file ui4.h.

◆ elementDouble()

double DomProperty::elementDouble ( ) const
inline

Definition at line 2546 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementEnum()

QString DomProperty::elementEnum ( ) const
inline

Definition at line 2490 of file ui4.h.

Referenced by Python::WriteImports::acceptProperty(), and write().

+ Here is the caller graph for this function:

◆ elementFloat()

float DomProperty::elementFloat ( ) const
inline

Definition at line 2543 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementFont()

DomFont * DomProperty::elementFont ( ) const
inline

Definition at line 2493 of file ui4.h.

◆ elementIconSet()

DomResourceIcon * DomProperty::elementIconSet ( ) const
inline

Definition at line 2497 of file ui4.h.

◆ elementLocale()

DomLocale * DomProperty::elementLocale ( ) const
inline

Definition at line 2520 of file ui4.h.

◆ elementLongLong()

qlonglong DomProperty::elementLongLong ( ) const
inline

Definition at line 2573 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementNumber()

int DomProperty::elementNumber ( ) const
inline

Definition at line 2540 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementPalette()

DomPalette * DomProperty::elementPalette ( ) const
inline

Definition at line 2505 of file ui4.h.

◆ elementPixmap()

DomResourcePixmap * DomProperty::elementPixmap ( ) const
inline

Definition at line 2501 of file ui4.h.

◆ elementPoint()

DomPoint * DomProperty::elementPoint ( ) const
inline

Definition at line 2509 of file ui4.h.

◆ elementPointF()

DomPointF * DomProperty::elementPointF ( ) const
inline

Definition at line 2561 of file ui4.h.

◆ elementRect()

DomRect * DomProperty::elementRect ( ) const
inline

Definition at line 2513 of file ui4.h.

◆ elementRectF()

DomRectF * DomProperty::elementRectF ( ) const
inline

Definition at line 2565 of file ui4.h.

◆ elementSet()

QString DomProperty::elementSet ( ) const
inline

Definition at line 2517 of file ui4.h.

Referenced by Python::WriteImports::acceptProperty(), and write().

+ Here is the caller graph for this function:

◆ elementSize()

DomSize * DomProperty::elementSize ( ) const
inline

Definition at line 2528 of file ui4.h.

◆ elementSizeF()

DomSizeF * DomProperty::elementSizeF ( ) const
inline

Definition at line 2569 of file ui4.h.

◆ elementSizePolicy()

DomSizePolicy * DomProperty::elementSizePolicy ( ) const
inline

Definition at line 2524 of file ui4.h.

◆ elementString()

DomString * DomProperty::elementString ( ) const
inline

Definition at line 2532 of file ui4.h.

◆ elementStringList()

DomStringList * DomProperty::elementStringList ( ) const
inline

Definition at line 2536 of file ui4.h.

◆ elementTime()

DomTime * DomProperty::elementTime ( ) const
inline

Definition at line 2553 of file ui4.h.

◆ elementUInt()

uint DomProperty::elementUInt ( ) const
inline

Definition at line 2584 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementULongLong()

qulonglong DomProperty::elementULongLong ( ) const
inline

Definition at line 2587 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ elementUrl()

DomUrl * DomProperty::elementUrl ( ) const
inline

Definition at line 2580 of file ui4.h.

◆ hasAttributeName()

bool DomProperty::hasAttributeName ( ) const
inline

Definition at line 2460 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ hasAttributeStdset()

bool DomProperty::hasAttributeStdset ( ) const
inline

Definition at line 2465 of file ui4.h.

Referenced by write().

+ Here is the caller graph for this function:

◆ kind()

Kind DomProperty::kind ( ) const
inline

Definition at line 2472 of file ui4.h.

Referenced by Python::WriteImports::acceptProperty(), WriteIncludesBase::acceptProperty(), and write().

+ Here is the caller graph for this function:

◆ read()

◆ setAttributeName()

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

Definition at line 2462 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setAttributeStdset()

void DomProperty::setAttributeStdset ( int a)
inline

Definition at line 2467 of file ui4.h.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementBool()

void DomProperty::setElementBool ( const QString & a)

Definition at line 5287 of file ui4.cpp.

References Bool.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementBrush()

void DomProperty::setElementBrush ( DomBrush * a)

Definition at line 5658 of file ui4.cpp.

References Brush.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementChar()

void DomProperty::setElementChar ( DomChar * a)

Definition at line 5616 of file ui4.cpp.

References Char.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementColor()

void DomProperty::setElementColor ( DomColor * a)

Definition at line 5301 of file ui4.cpp.

References Color.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementCstring()

void DomProperty::setElementCstring ( const QString & a)

Definition at line 5308 of file ui4.cpp.

References Cstring.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementCursor()

void DomProperty::setElementCursor ( int a)

Definition at line 5315 of file ui4.cpp.

References Cursor.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementCursorShape()

void DomProperty::setElementCursorShape ( const QString & a)

Definition at line 5322 of file ui4.cpp.

References CursorShape.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementDate()

void DomProperty::setElementDate ( DomDate * a)

Definition at line 5525 of file ui4.cpp.

References Date.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementDateTime()

void DomProperty::setElementDateTime ( DomDateTime * a)

Definition at line 5553 of file ui4.cpp.

References DateTime.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementDouble()

void DomProperty::setElementDouble ( double a)

Definition at line 5511 of file ui4.cpp.

References Double.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementEnum()

void DomProperty::setElementEnum ( const QString & a)

Definition at line 5329 of file ui4.cpp.

References Enum.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementFloat()

void DomProperty::setElementFloat ( float a)

Definition at line 5504 of file ui4.cpp.

References Float.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementFont()

void DomProperty::setElementFont ( DomFont * a)

Definition at line 5343 of file ui4.cpp.

References Font.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementIconSet()

void DomProperty::setElementIconSet ( DomResourceIcon * a)

Definition at line 5357 of file ui4.cpp.

References IconSet.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementLocale()

void DomProperty::setElementLocale ( DomLocale * a)

Definition at line 5434 of file ui4.cpp.

References Locale.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementLongLong()

void DomProperty::setElementLongLong ( qlonglong a)

Definition at line 5602 of file ui4.cpp.

References LongLong.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementNumber()

void DomProperty::setElementNumber ( int a)

Definition at line 5497 of file ui4.cpp.

References Number.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementPalette()

void DomProperty::setElementPalette ( DomPalette * a)

Definition at line 5385 of file ui4.cpp.

References Palette.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementPixmap()

void DomProperty::setElementPixmap ( DomResourcePixmap * a)

Definition at line 5371 of file ui4.cpp.

References Pixmap.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementPoint()

void DomProperty::setElementPoint ( DomPoint * a)

Definition at line 5399 of file ui4.cpp.

References Point.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementPointF()

void DomProperty::setElementPointF ( DomPointF * a)

Definition at line 5567 of file ui4.cpp.

References PointF.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementRect()

void DomProperty::setElementRect ( DomRect * a)

Definition at line 5413 of file ui4.cpp.

References Rect.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementRectF()

void DomProperty::setElementRectF ( DomRectF * a)

Definition at line 5581 of file ui4.cpp.

References RectF.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementSet()

void DomProperty::setElementSet ( const QString & a)

Definition at line 5420 of file ui4.cpp.

References Set.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementSize()

void DomProperty::setElementSize ( DomSize * a)

Definition at line 5462 of file ui4.cpp.

References Size.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementSizeF()

void DomProperty::setElementSizeF ( DomSizeF * a)

Definition at line 5595 of file ui4.cpp.

References SizeF.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementSizePolicy()

void DomProperty::setElementSizePolicy ( DomSizePolicy * a)

Definition at line 5448 of file ui4.cpp.

References SizePolicy.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementString()

void DomProperty::setElementString ( DomString * a)

Definition at line 5476 of file ui4.cpp.

References String.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementStringList()

void DomProperty::setElementStringList ( DomStringList * a)

Definition at line 5490 of file ui4.cpp.

References StringList.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementTime()

void DomProperty::setElementTime ( DomTime * a)

Definition at line 5539 of file ui4.cpp.

References Time.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementUInt()

void DomProperty::setElementUInt ( uint a)

Definition at line 5637 of file ui4.cpp.

References UInt.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementULongLong()

void DomProperty::setElementULongLong ( qulonglong a)

Definition at line 5644 of file ui4.cpp.

References ULongLong.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementUrl()

void DomProperty::setElementUrl ( DomUrl * a)

Definition at line 5630 of file ui4.cpp.

References Url.

Referenced by read().

+ Here is the caller graph for this function:

◆ takeElementBrush()

DomBrush * DomProperty::takeElementBrush ( )

Definition at line 5651 of file ui4.cpp.

◆ takeElementChar()

DomChar * DomProperty::takeElementChar ( )

Definition at line 5609 of file ui4.cpp.

◆ takeElementColor()

DomColor * DomProperty::takeElementColor ( )

Definition at line 5294 of file ui4.cpp.

◆ takeElementDate()

DomDate * DomProperty::takeElementDate ( )

Definition at line 5518 of file ui4.cpp.

◆ takeElementDateTime()

DomDateTime * DomProperty::takeElementDateTime ( )

Definition at line 5546 of file ui4.cpp.

◆ takeElementFont()

DomFont * DomProperty::takeElementFont ( )

Definition at line 5336 of file ui4.cpp.

◆ takeElementIconSet()

DomResourceIcon * DomProperty::takeElementIconSet ( )

Definition at line 5350 of file ui4.cpp.

◆ takeElementLocale()

DomLocale * DomProperty::takeElementLocale ( )

Definition at line 5427 of file ui4.cpp.

◆ takeElementPalette()

DomPalette * DomProperty::takeElementPalette ( )

Definition at line 5378 of file ui4.cpp.

◆ takeElementPixmap()

DomResourcePixmap * DomProperty::takeElementPixmap ( )

Definition at line 5364 of file ui4.cpp.

◆ takeElementPoint()

DomPoint * DomProperty::takeElementPoint ( )

Definition at line 5392 of file ui4.cpp.

◆ takeElementPointF()

DomPointF * DomProperty::takeElementPointF ( )

Definition at line 5560 of file ui4.cpp.

◆ takeElementRect()

DomRect * DomProperty::takeElementRect ( )

Definition at line 5406 of file ui4.cpp.

◆ takeElementRectF()

DomRectF * DomProperty::takeElementRectF ( )

Definition at line 5574 of file ui4.cpp.

◆ takeElementSize()

DomSize * DomProperty::takeElementSize ( )

Definition at line 5455 of file ui4.cpp.

◆ takeElementSizeF()

DomSizeF * DomProperty::takeElementSizeF ( )

Definition at line 5588 of file ui4.cpp.

◆ takeElementSizePolicy()

DomSizePolicy * DomProperty::takeElementSizePolicy ( )

Definition at line 5441 of file ui4.cpp.

◆ takeElementString()

DomString * DomProperty::takeElementString ( )

Definition at line 5469 of file ui4.cpp.

◆ takeElementStringList()

DomStringList * DomProperty::takeElementStringList ( )

Definition at line 5483 of file ui4.cpp.

◆ takeElementTime()

DomTime * DomProperty::takeElementTime ( )

Definition at line 5532 of file ui4.cpp.

◆ takeElementUrl()

DomUrl * DomProperty::takeElementUrl ( )

Definition at line 5623 of file ui4.cpp.

◆ write()

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

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