MythTV  master
Static Public Member Functions | Static Private Member Functions | List of all members
XMLParseBase Class Reference

#include <libmythui/xmlparsebase.h>

Inheritance diagram for XMLParseBase:
[legend]

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, QMap< QString, QString > &parentDependsMap)
 
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)
 
static void ConnectDependants (MythUIType *parent, QMap< QString, QString > &dependsMap)
 

Detailed Description

Definition at line 23 of file xmlparsebase.h.

Member Function Documentation

◆ getFirstText()

QString XMLParseBase::getFirstText ( QDomElement &  element)
static

◆ parseBool() [1/2]

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

◆ parseBool() [2/2]

bool XMLParseBase::parseBool ( QDomElement &  element)
static

Definition at line 70 of file xmlparsebase.cpp.

◆ parsePoint() [1/2]

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

◆ parsePoint() [2/2]

MythPoint XMLParseBase::parsePoint ( QDomElement &  element,
bool  normalize = true 
)
static

Definition at line 88 of file xmlparsebase.cpp.

◆ parseSize() [1/2]

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

Definition at line 93 of file xmlparsebase.cpp.

Referenced by parseSize().

◆ parseSize() [2/2]

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

Definition at line 127 of file xmlparsebase.cpp.

◆ parseRect() [1/2]

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

◆ parseRect() [2/2]

MythRect XMLParseBase::parseRect ( QDomElement &  element,
bool  normalize = true 
)
static

Definition at line 148 of file xmlparsebase.cpp.

◆ parseAlignment() [1/2]

int XMLParseBase::parseAlignment ( const QString &  text)
static

◆ parseAlignment() [2/2]

int XMLParseBase::parseAlignment ( QDomElement &  element)
static

Definition at line 213 of file xmlparsebase.cpp.

◆ parseGradient()

QBrush XMLParseBase::parseGradient ( const QDomElement &  element)
static

◆ parseText()

QString XMLParseBase::parseText ( QDomElement &  element)
static

◆ GetGlobalObjectStore()

MythUIType * XMLParseBase::GetGlobalObjectStore ( void  )
static

◆ ClearGlobalObjectStore()

void XMLParseBase::ClearGlobalObjectStore ( void  )
static

Definition at line 349 of file xmlparsebase.cpp.

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

◆ ParseChildren()

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

Definition at line 359 of file xmlparsebase.cpp.

Referenced by doLoad().

◆ ParseUIType()

MythUIType * XMLParseBase::ParseUIType ( const QString &  filename,
QDomElement &  element,
const QString &  type,
MythUIType parent,
MythScreenType screen,
bool  showWarnings,
QMap< QString, QString > &  parentDependsMap 
)
static

Definition at line 427 of file xmlparsebase.cpp.

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

◆ WindowExists()

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

Definition at line 636 of file xmlparsebase.cpp.

Referenced by MythThemedMenu::parseThemeButton().

◆ LoadWindowFromXML()

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

Definition at line 687 of file xmlparsebase.cpp.

Referenced by MythChannelOverlay::Create(), RatingSettings::Create(), VisualizationSettings::Create(), ChannelEditor::Create(), MetadataResultsDialog::Create(), MythNavigationOverlay::Create(), ImportSettings::Create(), CastDialog::Create(), IdleScreen::Create(), EditRomInfoDialog::Create(), MiniPlayer::Create(), ImageSearchResultsDialog::Create(), CustomPriority::Create(), FileAssocDialog::Create(), PlayerSettings::Create(), MetadataSettings::Create(), GameDetailsPopup::Create(), GrabberSettings::Create(), GeneralSetupWizard::Create(), PlaylistView::Create(), MythOverlayWindow::Create(), VisualizerView::Create(), ProgDetails::Create(), SearchView::Create(), CustomEdit::Create(), KeyGrabPopupBox::Create(), LyricsView::Create(), MythNewsConfig::Create(), AudioSetupWizard::Create(), MythBrowser::Create(), StreamView::Create(), WelcomeDialog::Create(), VideoSetupWizard::Create(), BookmarkEditor::Create(), ChannelRecPriority::Create(), NetSearch::Create(), ManualSchedule::Create(), Weather::Create(), ScreenWizard::Create(), DVDThemeSelector::Create(), GallerySlideView::Create(), GalleryThumbView::Create(), NetEditorBase::Create(), MythNews::Create(), ProfileDialog::Create(), SelectDestination::Create(), EditMetadataDialog::Create(), MythNewsEditor::Create(), MythTerminal::Create(), ProgFinder::Create(), PhrasePopup::Create(), ViewScheduleDiff::Create(), GameUI::Create(), LogViewer::Create(), PlotDialog::Create(), LanguageSelection::Create(), WeatherScreen::Create(), ThemeChooser::Create(), RawSettingsEditor::Create(), PrevRecordedList::Create(), ImportIconsWizard::Create(), MythThemedMenuState::Create(), FunctionDialog::Create(), ViewScheduled::Create(), RecordingSelector::Create(), ZMEvents::Create(), BrowserConfig::Create(), ZMPlayer::Create(), ExportNative::Create(), RSSEditPopup::Create(), TrackInfoPopup::Create(), StatusBox::Create(), ThumbFinder::Create(), VideoSelector::Create(), GlobalSetup::Create(), NetTree::Create(), ProgLister::Create(), BackendSelection::Create(), ChannelScannerGUIScanPane::Create(), FileSelector::Create(), ArchiveFileSelector::Create(), MythUIVirtualKeyboard::Create(), VideoDialog::Create(), MythBurn::Create(), GUIStartup::Create(), ZMConsole::Create(), EditStreamMetadata::Create(), MythControls::Create(), ZMLivePlayer::Create(), EditLyricsDialog::Create(), BookmarkManager::Create(), ImportMusicDialog::Create(), ProgramRecPriority::Create(), ScreenSetup::Create(), PlaylistEditorView::Create(), PowerSearchPopup::Create(), SmartPlaylistEditor::Create(), ImportNative::Create(), RSSEditor::Create(), Ripper::Create(), SearchStream::Create(), SourceSetup::Create(), EditPowerSearchPopup::Create(), GuideGrid::Create(), PlaybackBox::Create(), LocationDialog::Create(), EditAlbumartDialog::Create(), SearchInputDialog::Create(), ScheduleEditor::Create(), CriteriaRowEditor::Create(), MythNotificationScreen::Create(), ImportCoverArtDialog::Create(), MythDialogBox::Create(), MythMusicVolumeDialog::Create(), SmartPLResultViewer::Create(), RipStatus::Create(), TrackInfoDialog::Create(), SmartPLOrderByDialog::Create(), VideoFilterDialog::Create(), SmartPLDateDialog::Create(), StandardSettingDialog::Create(), GroupSelector::Create(), ChangeView::Create(), PasswordChange::Create(), RecMetadataEdit::Create(), HelpPopup::Create(), ItemDetailPopup::Create(), SchedEditChild::CreateEditChild(), ItemDetailPopup::Exists(), and SubtitleFormat::Load().

◆ LoadBaseTheme() [1/2]

bool XMLParseBase::LoadBaseTheme ( void  )
static

Definition at line 839 of file xmlparsebase.cpp.

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

◆ LoadBaseTheme() [2/2]

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

Definition at line 869 of file xmlparsebase.cpp.

◆ CopyWindowFromBase()

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

◆ doLoad()

bool XMLParseBase::doLoad ( const QString &  windowname,
MythUIType parent,
const QString &  filename,
bool  onlyLoadWindows,
bool  showWarnings 
)
staticprivate

Definition at line 714 of file xmlparsebase.cpp.

Referenced by LoadBaseTheme(), and LoadWindowFromXML().

◆ ConnectDependants()

static void XMLParseBase::ConnectDependants ( MythUIType parent,
QMap< QString, QString > &  dependsMap 
)
staticprivate

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