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 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(), MythNavigationOverlay::Create(), MetadataResultsDialog::Create(), CastDialog::Create(), ImportSettings::Create(), MiniPlayer::Create(), EditRomInfoDialog::Create(), IdleScreen::Create(), CustomPriority::Create(), FileAssocDialog::Create(), ImageSearchResultsDialog::Create(), PlayerSettings::Create(), MetadataSettings::Create(), GameDetailsPopup::Create(), GeneralSetupWizard::Create(), GrabberSettings::Create(), PlaylistView::Create(), ProgDetails::Create(), MythOverlayWindow::Create(), VisualizerView::Create(), LyricsView::Create(), CustomEdit::Create(), SearchView::Create(), AudioSetupWizard::Create(), MythNewsConfig::Create(), KeyGrabPopupBox::Create(), MythBrowser::Create(), StreamView::Create(), VideoSetupWizard::Create(), WelcomeDialog::Create(), ManualSchedule::Create(), ScreenWizard::Create(), ChannelRecPriority::Create(), NetSearch::Create(), Weather::Create(), BookmarkEditor::Create(), GalleryThumbView::Create(), GallerySlideView::Create(), ProfileDialog::Create(), MythNews::Create(), DVDThemeSelector::Create(), NetEditorBase::Create(), SelectDestination::Create(), EditMetadataDialog::Create(), MythNewsEditor::Create(), ProgFinder::Create(), MythTerminal::Create(), PhrasePopup::Create(), LogViewer::Create(), GameUI::Create(), PlotDialog::Create(), ViewScheduleDiff::Create(), WeatherScreen::Create(), LanguageSelection::Create(), ThemeChooser::Create(), RawSettingsEditor::Create(), PrevRecordedList::Create(), ViewScheduled::Create(), ImportIconsWizard::Create(), MythThemedMenuState::Create(), FunctionDialog::Create(), ZMEvents::Create(), RecordingSelector::Create(), BrowserConfig::Create(), ZMPlayer::Create(), ExportNative::Create(), RSSEditPopup::Create(), StatusBox::Create(), TrackInfoPopup::Create(), VideoSelector::Create(), ThumbFinder::Create(), NetTree::Create(), GlobalSetup::Create(), ProgLister::Create(), BackendSelection::Create(), ChannelScannerGUIScanPane::Create(), FileSelector::Create(), ArchiveFileSelector::Create(), MythUIVirtualKeyboard::Create(), VideoDialog::Create(), ZMConsole::Create(), MythBurn::Create(), GUIStartup::Create(), MythControls::Create(), EditStreamMetadata::Create(), ZMLivePlayer::Create(), EditLyricsDialog::Create(), ImportMusicDialog::Create(), BookmarkManager::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(), SearchInputDialog::Create(), EditAlbumartDialog::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(), ItemDetailPopup::Create(), HelpPopup::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: