MythTV
master
|
#include <libmythui/mythuihelper.h>
Public Member Functions | |
void | Init (MythUIMenuCallbacks &cbs) |
void | Init () |
MythUIMenuCallbacks * | GetMenuCBs () |
bool | IsScreenSetup () const |
Public Member Functions inherited from MythUIThemeCache | |
MythUIThemeCache () | |
~MythUIThemeCache () | |
void | UpdateImageCache () |
void | SetScreenSize (QSize Size) |
void | ClearThemeCacheDir () |
QString | GetThemeCacheDir () |
MythImage * | LoadCacheImage (QString File, const QString &Label, MythPainter *Painter, ImageCacheMode cacheMode=kCacheNormal) |
MythImage * | CacheImage (const QString &URL, MythImage *Image, bool NoDisk=false) |
void | RemoveFromCacheByFile (const QString &File) |
bool | IsImageInCache (const QString &URL) |
void | IncludeInCacheSize (MythImage *Image) |
void | ExcludeFromCacheSize (MythImage *Image) |
MThreadPool * | GetImageThreadPool () |
Public Member Functions inherited from MythUIThemeHelper | |
void | InitThemeHelper () |
QString | FindThemeDir (const QString &ThemeName, bool Fallback=true) |
Returns the full path to the theme denoted by themename. More... | |
QString | FindMenuThemeDir (const QString &MenuName) |
Returns the full path to the menu theme denoted by menuname. More... | |
bool | FindThemeFile (QString &Path) |
QString | GetThemeDir () |
QString | GetThemeName () |
QStringList | GetThemeSearchPath () |
QString | GetMenuThemeDir () |
QSize | GetBaseSize () const |
QList< ThemeInfo > | GetThemes (ThemeType Type) |
Public Member Functions inherited from MythUILocation | |
void | AddCurrentLocation (const QString &Location) |
QString | RemoveCurrentLocation () |
QString | GetCurrentLocation (bool FullPath=false, bool MainStackOnly=true) |
Static Public Member Functions | |
static MythUIHelper * | getMythUI () |
static void | destroyMythUI () |
Protected Member Functions | |
MythUIHelper ()=default | |
~MythUIHelper ()=default | |
Private Attributes | |
MythUIMenuCallbacks | m_callbacks { nullptr,nullptr,nullptr,nullptr,nullptr } |
bool | m_screenSetup { false } |
Definition at line 23 of file mythuihelper.h.
|
protecteddefault |
Referenced by getMythUI().
|
protecteddefault |
|
static |
Definition at line 36 of file mythuihelper.cpp.
Referenced by GetMythUI().
|
static |
Definition at line 58 of file mythuihelper.cpp.
Referenced by DestroyMythUI().
void MythUIHelper::Init | ( | MythUIMenuCallbacks & | cbs | ) |
Definition at line 76 of file mythuihelper.cpp.
Referenced by MythContextPrivate::Init(), and MythContextPrivate::TempMainWindow().
void MythUIHelper::Init | ( | ) |
Definition at line 87 of file mythuihelper.cpp.
MythUIMenuCallbacks * MythUIHelper::GetMenuCBs | ( | ) |
Definition at line 93 of file mythuihelper.cpp.
Referenced by MythThemedMenu::handleAction().
bool MythUIHelper::IsScreenSetup | ( | ) | const |
Definition at line 98 of file mythuihelper.cpp.
Referenced by SchemaUpgradeWizard::PromptForUpgrade(), MythContextPrivate::ShowConnectionFailurePopup(), and MythContextPrivate::ShowVersionMismatchPopup().
|
private |
Definition at line 43 of file mythuihelper.h.
Referenced by GetMenuCBs(), and Init().
Definition at line 44 of file mythuihelper.h.
Referenced by Init(), and IsScreenSetup().