XMLParseBase Class Reference

#include <xmlparsebase.h>

Inheritance diagram for XMLParseBase:
MythFontProperties MythUIAnimation MythUIType ThemeInfo MythScreenType MythUIButton MythUIButtonList MythUIButtonTree MythUICheckBox MythUIEditBar MythUIGroup MythUIGuideGrid MythUIImage MythUIProgressBar MythUIShape MythUISimpleText MythUIStateType MythUIText MythUITextEdit MythUIVideo MythUIWebBrowser

List of all members.

Static Public Member Functions

static QString getFirstText (QDomElement &element)
static bool parseBool (const QString &text)
static bool parseBool (QDomElement &element)
static MythPoint parsePoint (const QString &text, bool normalize=true)
static MythPoint parsePoint (QDomElement &element, bool normalize=true)
static QSize parseSize (const QString &text, bool normalize=true)
static QSize parseSize (QDomElement &element, bool normalize=true)
static MythRect parseRect (const QString &text, bool normalize=true)
static MythRect parseRect (QDomElement &element, bool normalize=true)
static int parseAlignment (const QString &text)
static int parseAlignment (QDomElement &element)
static QBrush parseGradient (const QDomElement &element)
static QString parseText (QDomElement &element)
static MythUITypeGetGlobalObjectStore (void)
static void ClearGlobalObjectStore (void)
static void ParseChildren (const QString &filename, QDomElement &element, MythUIType *parent, bool showWarnings)
static MythUITypeParseUIType (const QString &filename, QDomElement &element, const QString &type, MythUIType *parent, MythScreenType *screen, bool showWarnings)
static bool WindowExists (const QString &xmlfile, const QString &windowname)
static bool LoadWindowFromXML (const QString &xmlfile, const QString &windowname, MythUIType *parent)
static bool LoadBaseTheme (void)
static bool LoadBaseTheme (const QString &baseTheme)
static bool CopyWindowFromBase (const QString &windowname, MythScreenType *win)

Static Private Member Functions

static bool doLoad (const QString &windowname, MythUIType *parent, const QString &filename, bool onlyLoadWindows, bool showWarnings)

Detailed Description

Definition at line 21 of file xmlparsebase.h.


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 63 of file xmlparsebase.cpp.

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

Definition at line 81 of file xmlparsebase.cpp.

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

Definition at line 86 of file xmlparsebase.cpp.

Referenced by parseSize().

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

Definition at line 118 of file xmlparsebase.cpp.

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

Definition at line 136 of file xmlparsebase.cpp.

int XMLParseBase::parseAlignment ( const QString &  text  )  [static]
int XMLParseBase::parseAlignment ( QDomElement &  element  )  [static]

Definition at line 201 of file xmlparsebase.cpp.

QBrush XMLParseBase::parseGradient ( const QDomElement &  element  )  [static]
QString XMLParseBase::parseText ( QDomElement &  element  )  [static]
MythUIType * XMLParseBase::GetGlobalObjectStore ( void   )  [static]
void XMLParseBase::ClearGlobalObjectStore ( void   )  [static]

Definition at line 332 of file xmlparsebase.cpp.

Referenced by MythThemeBase::Reload().

void XMLParseBase::ParseChildren ( const QString &  filename,
QDomElement &  element,
MythUIType parent,
bool  showWarnings 
) [static]

Definition at line 342 of file xmlparsebase.cpp.

Referenced by doLoad().

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

Definition at line 407 of file xmlparsebase.cpp.

Referenced by doLoad(), ParseChildren(), and MythUIStateType::ParseElement().

bool XMLParseBase::WindowExists ( const QString &  xmlfile,
const QString &  windowname 
) [static]

Definition at line 601 of file xmlparsebase.cpp.

Referenced by MythThemedMenu::parseThemeButton().

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

Definition at line 653 of file xmlparsebase.cpp.

Referenced by ZMPlayer::Create(), ZMLivePlayer::Create(), ZMEvents::Create(), ZMConsole::Create(), FunctionDialog::Create(), WelcomeDialog::Create(), LocationDialog::Create(), SourceSetup::Create(), ScreenSetup::Create(), WeatherScreen::Create(), Weather::Create(), TrackInfoPopup::Create(), VisualizerView::Create(), VisualizationSettings::Create(), ViewScheduleDiff::Create(), ViewScheduled::Create(), VideoSelector::Create(), PlotDialog::Create(), CastDialog::Create(), PlayerSettings::Create(), MetadataSettings::Create(), VideoFilterDialog::Create(), FileAssocDialog::Create(), VideoDialog::Create(), ItemDetailPopup::Create(), TreeEditor::Create(), ThumbFinder::Create(), DVDThemeSelector::Create(), ThemeChooser::Create(), StatusBox::Create(), SmartPLDateDialog::Create(), SmartPLOrderByDialog::Create(), SmartPLResultViewer::Create(), CriteriaRowEditor::Create(), VideoSetupWizard::Create(), GeneralSetupWizard::Create(), AudioSetupWizard::Create(), SelectDestination::Create(), SearchView::Create(), SearchEditor::Create(), ScreenWizard::Create(), MetadataOptions::Create(), PostProcEditor::Create(), StoreOptEditor::Create(), SchedFilterEditor::Create(), SchedOptEditor::Create(), ScheduleEditor::Create(), RSSEditor::Create(), RSSEditPopup::Create(), EditRomInfoDialog::Create(), RecordingSelector::Create(), RawSettingsEditor::Create(), RatingSettings::Create(), ProgramRecPriority::Create(), EditPowerSearchPopup::Create(), PowerSearchPopup::Create(), TimePopup::Create(), PhrasePopup::Create(), ProgLister::Create(), SearchInputDialog::Create(), ProgFinder::Create(), ProgDetails::Create(), PlaylistView::Create(), HelpPopup::Create(), RecMetadataEdit::Create(), PasswordChange::Create(), ChangeView::Create(), GroupSelector::Create(), PlaybackBox::Create(), MythOSDWindow::Create(), ChannelEditor::Create(), NetTree::Create(), NetSearch::Create(), MythUIVirtualKeyboard::Create(), MetadataResultsDialog::Create(), ImageSearchResultsDialog::Create(), MythThemedMenuState::Create(), MythNewsEditor::Create(), MythNewsConfig::Create(), MythNews::Create(), MythDialogBox::Create(), MythControls::Create(), ProfileDialog::Create(), MythBurn::Create(), MythBrowser::Create(), TrackInfoDialog::Create(), MythMusicVolumeDialog::Create(), MiniPlayer::Create(), ManualSchedule::Create(), LogViewer::Create(), LanguageSelection::Create(), KeyGrabPopupBox::Create(), ImportSettings::Create(), ImportNative::Create(), ArchiveFileSelector::Create(), ImportCoverArtDialog::Create(), ImportMusicDialog::Create(), ImportIconsWizard::Create(), GuideGrid::Create(), GrabberSettings::Create(), GeneralSettings::Create(), GameUI::Create(), GameDetailsPopup::Create(), GalleryFilterDialog::Create(), FileSelector::Create(), ExportNative::Create(), EditMetadataDialog::Create(), EditAlbumartDialog::Create(), CustomPriority::Create(), CustomEdit::Create(), ChannelRecPriority::Create(), RipStatus::Create(), Ripper::Create(), BookmarkManager::Create(), BrowserConfig::Create(), BookmarkEditor::Create(), BackendSelection::Create(), and ItemDetailPopup::Exists().

bool XMLParseBase::LoadBaseTheme ( void   )  [static]

Definition at line 802 of file xmlparsebase.cpp.

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

bool XMLParseBase::LoadBaseTheme ( const QString &  baseTheme  )  [static]

Definition at line 834 of file xmlparsebase.cpp.

bool XMLParseBase::CopyWindowFromBase ( const QString &  windowname,
MythScreenType win 
) [static]
bool XMLParseBase::doLoad ( const QString &  windowname,
MythUIType parent,
const QString &  filename,
bool  onlyLoadWindows,
bool  showWarnings 
) [static, private]

Definition at line 684 of file xmlparsebase.cpp.

Referenced by LoadBaseTheme(), and LoadWindowFromXML().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri Feb 10 06:42:28 2012 for MythTV by  doxygen 1.6.3