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

#include <xmlparsebase.h>

Inheritance diagram for XMLParseBase:
Inheritance graph
[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 22 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 71 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 89 of file xmlparsebase.cpp.

◆ parseSize() [1/2]

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

Definition at line 94 of file xmlparsebase.cpp.

Referenced by parseSize().

◆ parseSize() [2/2]

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

Definition at line 126 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 147 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 212 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 343 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 353 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 420 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 627 of file xmlparsebase.cpp.

Referenced by MythThemedMenu::parseThemeButton().

◆ LoadWindowFromXML()

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

Definition at line 679 of file xmlparsebase.cpp.

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

◆ LoadBaseTheme() [1/2]

bool XMLParseBase::LoadBaseTheme ( void  )
static

Definition at line 831 of file xmlparsebase.cpp.

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

◆ LoadBaseTheme() [2/2]

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

Definition at line 863 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 707 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: