MythTV
master
|
#include <libmythui/themeinfo.h>
Public Member Functions | |
ThemeInfo (const QString &theme) | |
~ThemeInfo ()=default | |
bool | IsWide () const |
QString | GetAspect () const |
QSize | GetBaseRes () const |
QString | GetName () const |
QString | GetBaseTheme () const |
QString | GetDescription () const |
QString | GetErrata () const |
QString | GetPreviewPath () const |
int | GetType () const |
int | GetMajorVersion () const |
int | GetMinorVersion () const |
QString | GetDownloadURL () const |
QString | GetThemeWebSite () const |
QString | GetLocalURL () const |
QString | GetDirectoryName () const |
void | ToMap (InfoMap &infoMap) const |
Private Member Functions | |
bool | parseThemeInfo () |
Private Attributes | |
QString | m_themeurl |
QFileInfo | m_theme |
QString | m_baseTheme |
int | m_type {THEME_UNKN} |
QString | m_aspect |
QSize | m_baseres {800,600} |
QString | m_name |
QString | m_previewpath |
QString | m_description |
QString | m_errata |
int | m_majorver {0} |
int | m_minorver {0} |
QString | m_authorName |
QString | m_authorEmail |
QString | m_downloadurl |
QString | m_themesite |
Additional Inherited Members | |
Static Public Member Functions inherited from XMLParseBase | |
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, 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) |
Definition at line 20 of file themeinfo.h.
|
explicit |
Definition at line 17 of file themeinfo.cpp.
|
default |
bool ThemeInfo::IsWide | ( | ) | const |
Definition at line 247 of file themeinfo.cpp.
Referenced by MythUIThemeHelper::InitThemeHelper().
|
inline |
Definition at line 27 of file themeinfo.h.
Referenced by ThemeChooser::Init().
|
inline |
Definition at line 28 of file themeinfo.h.
Referenced by MythUIThemeHelper::InitThemeHelper().
|
inline |
Definition at line 29 of file themeinfo.h.
Referenced by ThemeChooser::customEvent(), ThemeChooser::Init(), MythUIThemeHelper::InitThemeHelper(), ThemeChooser::loadThemeInfo(), and ThemeChooser::LoadVersion().
|
inline |
Definition at line 30 of file themeinfo.h.
|
inline |
Definition at line 31 of file themeinfo.h.
|
inline |
Definition at line 32 of file themeinfo.h.
|
inline |
Definition at line 33 of file themeinfo.h.
Referenced by ThemeChooser::Init(), and ThemeChooser::LoadVersion().
|
inline |
Definition at line 34 of file themeinfo.h.
Referenced by ThemeUpdateChecker::checkForUpdate(), MythUIThemeHelper::GetThemes(), and ThemeChooser::loadThemeInfo().
|
inline |
Definition at line 35 of file themeinfo.h.
Referenced by ThemeUpdateChecker::checkForUpdate(), ThemeChooser::Init(), and ThemeChooser::LoadVersion().
|
inline |
Definition at line 36 of file themeinfo.h.
Referenced by ThemeUpdateChecker::checkForUpdate(), ThemeChooser::Init(), and ThemeChooser::LoadVersion().
|
inline |
Definition at line 38 of file themeinfo.h.
Referenced by ThemeChooser::Init().
|
inline |
Definition at line 39 of file themeinfo.h.
|
inline |
Definition at line 41 of file themeinfo.h.
QString ThemeInfo::GetDirectoryName | ( | ) | const |
Definition at line 252 of file themeinfo.cpp.
Referenced by ThemeChooser::customEvent(), and ThemeChooser::Init().
void ThemeInfo::ToMap | ( | InfoMap & | infoMap | ) | const |
Definition at line 261 of file themeinfo.cpp.
Referenced by ThemeChooser::Init().
|
private |
Definition at line 51 of file themeinfo.cpp.
Referenced by ThemeInfo().
|
private |
Definition at line 49 of file themeinfo.h.
Referenced by parseThemeInfo(), and ThemeInfo().
|
private |
Definition at line 50 of file themeinfo.h.
Referenced by GetDirectoryName(), parseThemeInfo(), and ThemeInfo().
|
private |
Definition at line 51 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
|
private |
Definition at line 52 of file themeinfo.h.
Referenced by parseThemeInfo().
|
private |
Definition at line 53 of file themeinfo.h.
Referenced by IsWide(), parseThemeInfo(), and ToMap().
|
private |
Definition at line 54 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
|
private |
Definition at line 55 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
|
private |
Definition at line 56 of file themeinfo.h.
Referenced by parseThemeInfo().
|
private |
Definition at line 57 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
|
private |
Definition at line 58 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
|
private |
Definition at line 59 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
|
private |
Definition at line 60 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
|
private |
Definition at line 62 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
|
private |
Definition at line 63 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
|
private |
Definition at line 65 of file themeinfo.h.
Referenced by parseThemeInfo().
|
private |
Definition at line 66 of file themeinfo.h.