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

#include <ui4.h>

+ Collaboration diagram for DomFont:

Public Member Functions

 DomFont ()=default
 
 ~DomFont ()
 
void read (QXmlStreamReader &reader)
 
void write (QXmlStreamWriter &writer, const QString &tagName=QString()) const
 
QString elementFamily () const
 
void setElementFamily (const QString &a)
 
bool hasElementFamily () const
 
void clearElementFamily ()
 
int elementPointSize () const
 
void setElementPointSize (int a)
 
bool hasElementPointSize () const
 
void clearElementPointSize ()
 
int elementWeight () const
 
void setElementWeight (int a)
 
bool hasElementWeight () const
 
void clearElementWeight ()
 
bool elementItalic () const
 
void setElementItalic (bool a)
 
bool hasElementItalic () const
 
void clearElementItalic ()
 
bool elementBold () const
 
void setElementBold (bool a)
 
bool hasElementBold () const
 
void clearElementBold ()
 
bool elementUnderline () const
 
void setElementUnderline (bool a)
 
bool hasElementUnderline () const
 
void clearElementUnderline ()
 
bool elementStrikeOut () const
 
void setElementStrikeOut (bool a)
 
bool hasElementStrikeOut () const
 
void clearElementStrikeOut ()
 
bool elementAntialiasing () const
 
void setElementAntialiasing (bool a)
 
bool hasElementAntialiasing () const
 
void clearElementAntialiasing ()
 
QString elementStyleStrategy () const
 
void setElementStyleStrategy (const QString &a)
 
bool hasElementStyleStrategy () const
 
void clearElementStyleStrategy ()
 
bool elementKerning () const
 
void setElementKerning (bool a)
 
bool hasElementKerning () const
 
void clearElementKerning ()
 
QString elementHintingPreference () const
 
void setElementHintingPreference (const QString &a)
 
bool hasElementHintingPreference () const
 
void clearElementHintingPreference ()
 
QString elementFontWeight () const
 
void setElementFontWeight (const QString &a)
 
bool hasElementFontWeight () const
 
void clearElementFontWeight ()
 

Detailed Description

Definition at line 1588 of file ui4.h.

Constructor & Destructor Documentation

◆ DomFont()

DomFont::DomFont ( )
default

◆ ~DomFont()

DomFont::~DomFont ( )
default

Member Function Documentation

◆ clearElementAntialiasing()

void DomFont::clearElementAntialiasing ( )

Definition at line 3293 of file ui4.cpp.

◆ clearElementBold()

void DomFont::clearElementBold ( )

Definition at line 3278 of file ui4.cpp.

◆ clearElementFamily()

void DomFont::clearElementFamily ( )

Definition at line 3258 of file ui4.cpp.

◆ clearElementFontWeight()

void DomFont::clearElementFontWeight ( )

Definition at line 3313 of file ui4.cpp.

◆ clearElementHintingPreference()

void DomFont::clearElementHintingPreference ( )

Definition at line 3308 of file ui4.cpp.

◆ clearElementItalic()

void DomFont::clearElementItalic ( )

Definition at line 3273 of file ui4.cpp.

◆ clearElementKerning()

void DomFont::clearElementKerning ( )

Definition at line 3303 of file ui4.cpp.

◆ clearElementPointSize()

void DomFont::clearElementPointSize ( )

Definition at line 3263 of file ui4.cpp.

◆ clearElementStrikeOut()

void DomFont::clearElementStrikeOut ( )

Definition at line 3288 of file ui4.cpp.

◆ clearElementStyleStrategy()

void DomFont::clearElementStyleStrategy ( )

Definition at line 3298 of file ui4.cpp.

◆ clearElementUnderline()

void DomFont::clearElementUnderline ( )

Definition at line 3283 of file ui4.cpp.

◆ clearElementWeight()

void DomFont::clearElementWeight ( )

Definition at line 3268 of file ui4.cpp.

◆ elementAntialiasing()

bool DomFont::elementAntialiasing ( ) const
inline

Definition at line 1633 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ elementBold()

bool DomFont::elementBold ( ) const
inline

Definition at line 1618 of file ui4.h.

◆ elementFamily()

QString DomFont::elementFamily ( ) const
inline

Definition at line 1598 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ elementFontWeight()

QString DomFont::elementFontWeight ( ) const
inline

Definition at line 1653 of file ui4.h.

◆ elementHintingPreference()

QString DomFont::elementHintingPreference ( ) const
inline

Definition at line 1648 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ elementItalic()

bool DomFont::elementItalic ( ) const
inline

Definition at line 1613 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ elementKerning()

bool DomFont::elementKerning ( ) const
inline

Definition at line 1643 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ elementPointSize()

int DomFont::elementPointSize ( ) const
inline

Definition at line 1603 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ elementStrikeOut()

bool DomFont::elementStrikeOut ( ) const
inline

Definition at line 1628 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ elementStyleStrategy()

QString DomFont::elementStyleStrategy ( ) const
inline

Definition at line 1638 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ elementUnderline()

bool DomFont::elementUnderline ( ) const
inline

Definition at line 1623 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ elementWeight()

int DomFont::elementWeight ( ) const
inline

Definition at line 1608 of file ui4.h.

◆ hasElementAntialiasing()

bool DomFont::hasElementAntialiasing ( ) const
inline

Definition at line 1635 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ hasElementBold()

bool DomFont::hasElementBold ( ) const
inline

Definition at line 1620 of file ui4.h.

◆ hasElementFamily()

bool DomFont::hasElementFamily ( ) const
inline

Definition at line 1600 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ hasElementFontWeight()

bool DomFont::hasElementFontWeight ( ) const
inline

Definition at line 1655 of file ui4.h.

References FontWeight.

◆ hasElementHintingPreference()

bool DomFont::hasElementHintingPreference ( ) const
inline

Definition at line 1650 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ hasElementItalic()

bool DomFont::hasElementItalic ( ) const
inline

Definition at line 1615 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ hasElementKerning()

bool DomFont::hasElementKerning ( ) const
inline

Definition at line 1645 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ hasElementPointSize()

bool DomFont::hasElementPointSize ( ) const
inline

Definition at line 1605 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ hasElementStrikeOut()

bool DomFont::hasElementStrikeOut ( ) const
inline

Definition at line 1630 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ hasElementStyleStrategy()

bool DomFont::hasElementStyleStrategy ( ) const
inline

Definition at line 1640 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ hasElementUnderline()

bool DomFont::hasElementUnderline ( ) const
inline

Definition at line 1625 of file ui4.h.

Referenced by CPP::FontHandle::compare().

+ Here is the caller graph for this function:

◆ hasElementWeight()

bool DomFont::hasElementWeight ( ) const
inline

Definition at line 1610 of file ui4.h.

◆ read()

void DomFont::read ( QXmlStreamReader & reader)

Definition at line 3078 of file ui4.cpp.

References Qt::CaseInsensitive, setElementAntialiasing(), setElementBold(), setElementFamily(), setElementFontWeight(), setElementHintingPreference(), setElementItalic(), setElementKerning(), setElementPointSize(), setElementStrikeOut(), setElementStyleStrategy(), setElementUnderline(), setElementWeight(), and tag.

+ Here is the call graph for this function:

◆ setElementAntialiasing()

void DomFont::setElementAntialiasing ( bool a)

Definition at line 3228 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementBold()

void DomFont::setElementBold ( bool a)

Definition at line 3210 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementFamily()

void DomFont::setElementFamily ( const QString & a)

Definition at line 3186 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementFontWeight()

void DomFont::setElementFontWeight ( const QString & a)

Definition at line 3252 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementHintingPreference()

void DomFont::setElementHintingPreference ( const QString & a)

Definition at line 3246 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementItalic()

void DomFont::setElementItalic ( bool a)

Definition at line 3204 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementKerning()

void DomFont::setElementKerning ( bool a)

Definition at line 3240 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementPointSize()

void DomFont::setElementPointSize ( int a)

Definition at line 3192 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementStrikeOut()

void DomFont::setElementStrikeOut ( bool a)

Definition at line 3222 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementStyleStrategy()

void DomFont::setElementStyleStrategy ( const QString & a)

Definition at line 3234 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementUnderline()

void DomFont::setElementUnderline ( bool a)

Definition at line 3216 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ setElementWeight()

void DomFont::setElementWeight ( int a)

Definition at line 3198 of file ui4.cpp.

Referenced by read().

+ Here is the caller graph for this function:

◆ write()

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

Definition at line 3143 of file ui4.cpp.

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

Referenced by 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: