XMLParseBase Class Reference

#include <xmlparsebase.h>

Inheritance diagram for XMLParseBase:

MythFontProperties MythThemedMenuPrivate MythThemedMenuState MythUIType MythListButton MythScreenType MythUIButton MythUIImage MythUIStateType MythUIText ThemedButton MythAppearance MythControls MythDialogBox MythThemedMenu MythUIClock

List of all members.


Detailed Description

Definition at line 12 of file xmlparsebase.h.


Static Public Member Functions

static QString getFirstText (QDomElement &element)
static bool parseBool (const QString &text)
static bool parseBool (QDomElement &element)
static QPoint parsePoint (const QString &text, bool normalize=true)
static QPoint parsePoint (QDomElement &element, bool normalize=true)
static QSize parseSize (const QString &text, bool normalize=true)
static QSize parseSize (QDomElement &element, bool normalize=true)
static QRect parseRect (const QString &text, bool normalize=true)
static QRect parseRect (QDomElement &element, bool normalize=true)
static MythUITypeGetGlobalObjectStore (void)
static void ClearGlobalObjectStore (void)
static MythUITypeParseChildren (QDomElement &element, MythUIType *parent)
static MythUITypeParseUIType (QDomElement &element, const QString &type, MythUIType *parent, MythScreenType *screen=NULL)
static bool LoadWindowFromXML (const QString &xmlfile, const QString &windowname, MythUIType *parent)
static bool LoadBaseTheme (void)
static bool CopyWindowFromBase (const QString &windowname, MythScreenType *win)

Static Private Member Functions

static bool doLoad (const QString &windowname, MythUIType *parent, const QString &filename, bool onlywindows=true)

Member Function Documentation

QString XMLParseBase::getFirstText ( QDomElement &  element  )  [static]

bool XMLParseBase::parseBool ( const QString &  text  )  [static]

bool XMLParseBase::parseBool ( QDomElement &  element  )  [static]

Definition at line 36 of file xmlparsebase.cpp.

QPoint XMLParseBase::parsePoint ( const QString &  text,
bool  normalize = true 
) [static]

QPoint XMLParseBase::parsePoint ( QDomElement &  element,
bool  normalize = true 
) [static]

Definition at line 54 of file xmlparsebase.cpp.

QSize XMLParseBase::parseSize ( const QString &  text,
bool  normalize = true 
) [static]

Definition at line 59 of file xmlparsebase.cpp.

Referenced by MythUIImage::ParseElement(), and parseSize().

QSize XMLParseBase::parseSize ( QDomElement &  element,
bool  normalize = true 
) [static]

Definition at line 82 of file xmlparsebase.cpp.

QRect XMLParseBase::parseRect ( const QString &  text,
bool  normalize = true 
) [static]

QRect XMLParseBase::parseRect ( QDomElement &  element,
bool  normalize = true 
) [static]

Definition at line 100 of file xmlparsebase.cpp.

MythUIType * XMLParseBase::GetGlobalObjectStore ( void   )  [static]

void XMLParseBase::ClearGlobalObjectStore ( void   )  [static]

Definition at line 114 of file xmlparsebase.cpp.

Referenced by MythThemeBase::Reload().

MythUIType * XMLParseBase::ParseChildren ( QDomElement &  element,
MythUIType parent 
) [static]

MythUIType * XMLParseBase::ParseUIType ( QDomElement &  element,
const QString &  type,
MythUIType parent,
MythScreenType screen = NULL 
) [static]

Definition at line 161 of file xmlparsebase.cpp.

Referenced by doLoad(), and ParseChildren().

bool XMLParseBase::LoadWindowFromXML ( const QString &  xmlfile,
const QString &  windowname,
MythUIType parent 
) [static]

Definition at line 287 of file xmlparsebase.cpp.

Referenced by MythControls::Create(), and MythAppearance::Create().

bool XMLParseBase::LoadBaseTheme ( void   )  [static]

Definition at line 394 of file xmlparsebase.cpp.

Referenced by MythThemeBase::Init(), and MythThemeBase::Reload().

bool XMLParseBase::CopyWindowFromBase ( const QString &  windowname,
MythScreenType win 
) [static]

bool XMLParseBase::doLoad ( const QString &  windowname,
MythUIType parent,
const QString &  filename,
bool  onlywindows = true 
) [static, private]

Definition at line 306 of file xmlparsebase.cpp.

Referenced by LoadBaseTheme(), and LoadWindowFromXML().


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

Generated on Sat Dec 18 05:16:14 2010 for MythTV by  doxygen 1.5.5