#include <xmlparsebase.h>
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 MythUIType * | GetGlobalObjectStore (void) |
| static void | ClearGlobalObjectStore (void) |
| static void | ParseChildren (const QString &filename, QDomElement &element, MythUIType *parent, bool showWarnings) |
| static MythUIType * | ParseUIType (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) |
Definition at line 21 of file xmlparsebase.h.
| QString XMLParseBase::getFirstText | ( | QDomElement & | element | ) | [static] |
Definition at line 45 of file xmlparsebase.cpp.
Referenced by doLoad(), parseAlignment(), parseBool(), MythUIWebBrowser::ParseElement(), MythUIVideo::ParseElement(), MythUIType::ParseElement(), MythUITextEdit::ParseElement(), MythUIText::ParseElement(), MythUIShape::ParseElement(), MythUIProgressBar::ParseElement(), MythUIImage::ParseElement(), MythUIGuideGrid::ParseElement(), MythUIButtonTree::ParseElement(), MythUIButtonList::ParseElement(), MythFontProperties::ParseFromXml(), parsePoint(), parseRect(), parseSize(), parseText(), MythThemedMenu::parseThemeButton(), and ThemeInfo::parseThemeInfo().
| bool XMLParseBase::parseBool | ( | const QString & | text | ) | [static] |
Definition at line 57 of file xmlparsebase.cpp.
Referenced by parseBool(), MythUIType::ParseElement(), MythUIText::ParseElement(), MythUIStateType::ParseElement(), MythUIImage::ParseElement(), MythUIGuideGrid::ParseElement(), MythUIButtonList::ParseElement(), MythFontProperties::ParseFromXml(), and MythUIAnimation::ParseSection().
| bool XMLParseBase::parseBool | ( | QDomElement & | element | ) | [static] |
Definition at line 63 of file xmlparsebase.cpp.
Definition at line 68 of file xmlparsebase.cpp.
Referenced by MythUIType::ParseElement(), MythUIGuideGrid::ParseElement(), MythUIButtonList::ParseElement(), MythFontProperties::ParseFromXml(), parsePoint(), and MythUIAnimation::parsePosition().
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.
Definition at line 123 of file xmlparsebase.cpp.
Referenced by MythUIType::ParseElement(), MythUITextEdit::ParseElement(), MythUIText::ParseElement(), MythUIImage::ParseElement(), MythUIButtonList::ParseElement(), MythScreenType::ParseElement(), and parseRect().
Definition at line 136 of file xmlparsebase.cpp.
| int XMLParseBase::parseAlignment | ( | const QString & | text | ) | [static] |
Definition at line 141 of file xmlparsebase.cpp.
Referenced by parseAlignment(), MythUIText::ParseElement(), and MythUIButtonList::ParseElement().
| int XMLParseBase::parseAlignment | ( | QDomElement & | element | ) | [static] |
Definition at line 201 of file xmlparsebase.cpp.
| QBrush XMLParseBase::parseGradient | ( | const QDomElement & | element | ) | [static] |
Definition at line 206 of file xmlparsebase.cpp.
Referenced by MythUIShape::ParseElement(), and MythFontProperties::ParseFromXml().
| QString XMLParseBase::parseText | ( | QDomElement & | element | ) | [static] |
Definition at line 298 of file xmlparsebase.cpp.
Referenced by MythUIText::ParseElement(), MythUISpinBox::ParseElement(), MythUIClock::ParseElement(), MythUIButton::ParseElement(), MythThemedMenu::parseThemeButton(), and ThemeInfo::parseThemeInfo().
| MythUIType * XMLParseBase::GetGlobalObjectStore | ( | void | ) | [static] |
Definition at line 325 of file xmlparsebase.cpp.
Referenced by ClearGlobalObjectStore(), CopyWindowFromBase(), doLoad(), LoadBaseTheme(), ParseChildren(), and ParseUIType().
| 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] |
Definition at line 879 of file xmlparsebase.cpp.
Referenced by TvPlayWindow::Create(), MythUIFileBrowser::Create(), SearchButtonListDialog::Create(), MythUIProgressDialog::Create(), MythUIBusyDialog::Create(), MythUISearchDialog::Create(), MythTextInputDialog::Create(), MythConfirmationDialog::Create(), MythDialogBox::Create(), MythThemeBase::Init(), and MythThemeBase::Reload().
| 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().
1.6.3