#include <xmlparse.h>
Public Member Functions | |
| XMLParse () | |
| ~XMLParse () | |
Protected Member Functions | |
| fontProp * | GetFont (const QString &, bool checkGlobal=true) |
| LayerSet * | GetSet (const QString &text) |
| void | SetWMult (double wm) |
| void | SetHMult (double hm) |
| bool | LoadTheme (QDomElement &, QString, QString sf="") |
Private Member Functions | |
| bool | doLoadTheme (QDomElement &, QString, QString) |
| QString | getFirstText (QDomElement &) |
| void | parseFont (QDomElement &) |
| void | normalizeRect (QRect &) |
| QPoint | parsePoint (QString) |
| QRect | parseRect (QString) |
| void | parseContainer (QDomElement &, QString &, int &, QRect &) |
| void | parseKeyboard (LayerSet *, QDomElement &) |
| void | parseKey (LayerSet *, QDomElement &) |
Private Attributes | |
| QMap< QString, fontProp > | fontMap |
| QMap< QString, LayerSet * > | layerMap |
| vector< LayerSet * > * | allTypes |
| double | wmult |
| double | hmult |
| QString | fontSizeType |
| MythUIHelper * | ui |
Friends | |
| class | MythThemedDialog |
| class | MythDialog |
Definition at line 12 of file xmlparse.h.
| XMLParse::XMLParse | ( | void | ) |
Definition at line 28 of file xmlparse.cpp.
| XMLParse::~XMLParse | ( | ) |
Definition at line 34 of file xmlparse.cpp.
Definition at line 376 of file xmlparse.cpp.
Referenced by MythThemedDialog::getFont(), parseFont(), parseKey(), and parseKeyboard().
| LayerSet * XMLParse::GetSet | ( | const QString & | text | ) | [protected] |
Definition at line 502 of file xmlparse.cpp.
Referenced by parseContainer(), MythThemedDialog::parseContainer(), and MythThemedDialog::updateBackground().
| void XMLParse::SetWMult | ( | double | wm | ) | [inline, protected] |
Definition at line 21 of file xmlparse.h.
Referenced by MythThemedDialog::loadThemedWindow().
| void XMLParse::SetHMult | ( | double | hm | ) | [inline, protected] |
Definition at line 22 of file xmlparse.h.
Referenced by MythThemedDialog::loadThemedWindow().
| bool XMLParse::LoadTheme | ( | QDomElement & | ele, | |
| QString | winName, | |||
| QString | sf = "" | |||
| ) | [protected] |
Definition at line 46 of file xmlparse.cpp.
Referenced by MythThemedDialog::loadThemedWindow().
| bool XMLParse::doLoadTheme | ( | QDomElement & | ele, | |
| QString | winName, | |||
| QString | themeFile | |||
| ) | [private] |
Definition at line 66 of file xmlparse.cpp.
Referenced by LoadTheme().
| QString XMLParse::getFirstText | ( | QDomElement & | element | ) | [private] |
Definition at line 131 of file xmlparse.cpp.
Referenced by parseContainer(), parseFont(), parseKey(), and parseKeyboard().
| void XMLParse::parseFont | ( | QDomElement & | element | ) | [private] |
Definition at line 143 of file xmlparse.cpp.
Referenced by MythThemedDialog::loadWindow(), and MythThemedDialog::parseFont().
| void XMLParse::normalizeRect | ( | QRect & | rect | ) | [private] |
Definition at line 388 of file xmlparse.cpp.
Referenced by parseContainer(), and parseKeyboard().
| QPoint XMLParse::parsePoint | ( | QString | text | ) | [private] |
Definition at line 397 of file xmlparse.cpp.
Referenced by parseFont(), and parseKey().
| QRect XMLParse::parseRect | ( | QString | text | ) | [private] |
Definition at line 411 of file xmlparse.cpp.
Referenced by parseContainer(), and parseKeyboard().
| void XMLParse::parseContainer | ( | QDomElement & | element, | |
| QString & | newname, | |||
| int & | context, | |||
| QRect & | area | |||
| ) | [private] |
Definition at line 428 of file xmlparse.cpp.
Referenced by MythThemedDialog::parseContainer().
| void XMLParse::parseKeyboard | ( | LayerSet * | container, | |
| QDomElement & | element | |||
| ) | [private] |
Definition at line 693 of file xmlparse.cpp.
Referenced by parseContainer().
| void XMLParse::parseKey | ( | LayerSet * | container, | |
| QDomElement & | element | |||
| ) | [private] |
Definition at line 512 of file xmlparse.cpp.
Referenced by parseKeyboard().
friend class MythThemedDialog [friend] |
Definition at line 48 of file xmlparse.h.
friend class MythDialog [friend] |
Definition at line 49 of file xmlparse.h.
QMap<QString, fontProp> XMLParse::fontMap [private] |
Definition at line 28 of file xmlparse.h.
Referenced by GetFont(), and parseFont().
QMap<QString, LayerSet*> XMLParse::layerMap [private] |
Definition at line 29 of file xmlparse.h.
Referenced by GetSet(), and parseContainer().
vector<LayerSet *>* XMLParse::allTypes [private] |
Definition at line 30 of file xmlparse.h.
Referenced by parseContainer(), XMLParse(), and ~XMLParse().
double XMLParse::wmult [private] |
Definition at line 41 of file xmlparse.h.
Referenced by normalizeRect(), parseFont(), parseKey(), parseKeyboard(), and SetWMult().
double XMLParse::hmult [private] |
Definition at line 42 of file xmlparse.h.
Referenced by normalizeRect(), parseFont(), parseKey(), parseKeyboard(), and SetHMult().
QString XMLParse::fontSizeType [private] |
Definition at line 44 of file xmlparse.h.
Referenced by LoadTheme(), and parseFont().
MythUIHelper* XMLParse::ui [private] |
Definition at line 46 of file xmlparse.h.
Referenced by LoadTheme(), parseKey(), parseKeyboard(), and XMLParse().
1.6.3