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

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)

◆ parseBool() [1/2]

bool XMLParseBase::parseBool ( const QString &  text)

◆ parseBool() [2/2]

bool XMLParseBase::parseBool ( QDomElement &  element)

Definition at line 71 of file xmlparsebase.cpp.

◆ parsePoint() [1/2]

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

◆ parsePoint() [2/2]

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

Definition at line 93 of file xmlparsebase.cpp.

◆ parseSize() [1/2]

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

Definition at line 98 of file xmlparsebase.cpp.

Referenced by parseSize().

◆ parseSize() [2/2]

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

Definition at line 132 of file xmlparsebase.cpp.

◆ parseRect() [1/2]

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

◆ parseRect() [2/2]

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

Definition at line 157 of file xmlparsebase.cpp.

◆ parseAlignment() [1/2]

int XMLParseBase::parseAlignment ( const QString &  text)

◆ parseAlignment() [2/2]

int XMLParseBase::parseAlignment ( QDomElement &  element)

Definition at line 222 of file xmlparsebase.cpp.

◆ parseGradient()

QBrush XMLParseBase::parseGradient ( const QDomElement &  element)

◆ parseText()

QString XMLParseBase::parseText ( QDomElement &  element)

◆ GetGlobalObjectStore()

MythUIType * XMLParseBase::GetGlobalObjectStore ( void  )

◆ ClearGlobalObjectStore()

void XMLParseBase::ClearGlobalObjectStore ( void  )

Definition at line 358 of file xmlparsebase.cpp.

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

◆ ParseChildren()

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

Definition at line 368 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 

Definition at line 435 of file xmlparsebase.cpp.

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

◆ WindowExists()

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

Definition at line 641 of file xmlparsebase.cpp.

Referenced by MythThemedMenu::parseThemeButton().

◆ LoadWindowFromXML()

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

Definition at line 692 of file xmlparsebase.cpp.

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

Definition at line 843 of file xmlparsebase.cpp.

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

◆ LoadBaseTheme() [2/2]

bool XMLParseBase::LoadBaseTheme ( const QString &  baseTheme)

Definition at line 874 of file xmlparsebase.cpp.

◆ CopyWindowFromBase()

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

◆ doLoad()

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

Definition at line 719 of file xmlparsebase.cpp.

Referenced by LoadBaseTheme(), and LoadWindowFromXML().

◆ ConnectDependants()

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

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