MythTV  master
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MythUIHelperPrivate Class Reference
Collaboration diagram for MythUIHelperPrivate:
Collaboration graph
[legend]

Public Member Functions

 MythUIHelperPrivate (MythUIHelper *p)
 
 ~MythUIHelperPrivate ()
 
void Init ()
 
void StoreGUIsettings (void)
 Apply any user overrides to the screen geometry. More...
 

Public Attributes

bool m_themeloaded {false}
 Do we have a palette and pixmap to use? More...
 
QString m_menuthemepathname
 
QString m_themepathname
 
QString m_themename
 
QPalette m_palette
 Colour scheme. More...
 
float m_wmult {1.0F}
 
float m_hmult {1.0F}
 
QSize m_baseSize { 800, 600 }
 
bool m_isWide {false}
 
QMap< QString, MythImage * > m_imageCache
 
QMap< QString, qint64 > m_cacheTrack
 
QMutex * m_cacheLock {nullptr}
 
QAtomicInteger< qint64 > m_cacheSize {0}
 
QAtomicInteger< qint64 > m_maxCacheSize {30 * 1024 * 1024}
 
QRect m_screenRect { 0, 0, 0, 0}
 
QString m_themecachedir
 
QString m_userThemeDir
 
ScreenSaverControlm_screensaver {nullptr}
 
bool m_screensaverEnabled {false}
 
MythDisplaym_display {nullptr}
 
bool m_screenSetup {false}
 
MThreadPoolm_imageThreadPool {nullptr}
 
MythUIMenuCallbacks m_callbacks {nullptr,nullptr,nullptr,nullptr,nullptr}
 
MythUIHelperm_parent {nullptr}
 
int m_fontStretch {100}
 
QStringList m_searchPaths
 

Static Public Attributes

static int x_override = -1
 
static int y_override = -1
 
static int w_override = -1
 
static int h_override = -1
 

Detailed Description

Definition at line 91 of file mythuihelper.cpp.

Constructor & Destructor Documentation

◆ MythUIHelperPrivate()

MythUIHelperPrivate::MythUIHelperPrivate ( MythUIHelper p)
inlineexplicit

Definition at line 94 of file mythuihelper.cpp.

◆ ~MythUIHelperPrivate()

MythUIHelperPrivate::~MythUIHelperPrivate ( )

Definition at line 169 of file mythuihelper.cpp.

Member Function Documentation

◆ Init()

void MythUIHelperPrivate::Init ( void  )

Definition at line 196 of file mythuihelper.cpp.

Referenced by MythUIHelper::Init().

◆ StoreGUIsettings()

void MythUIHelperPrivate::StoreGUIsettings ( void  )

Apply any user overrides to the screen geometry.

Definition at line 211 of file mythuihelper.cpp.

Referenced by Init(), MythUIHelper::LoadQtConfig(), and MythUIHelper::UpdateScreenSettings().

Member Data Documentation

◆ m_themeloaded

bool MythUIHelperPrivate::m_themeloaded {false}

Do we have a palette and pixmap to use?

Definition at line 103 of file mythuihelper.cpp.

Referenced by MythUIHelper::LoadQtConfig().

◆ m_menuthemepathname

QString MythUIHelperPrivate::m_menuthemepathname

Definition at line 104 of file mythuihelper.cpp.

Referenced by MythUIHelper::GetMenuThemeDir(), and MythUIHelper::LoadQtConfig().

◆ m_themepathname

QString MythUIHelperPrivate::m_themepathname

Definition at line 105 of file mythuihelper.cpp.

Referenced by MythUIHelper::GetThemeDir(), and MythUIHelper::LoadQtConfig().

◆ m_themename

QString MythUIHelperPrivate::m_themename

◆ m_palette

QPalette MythUIHelperPrivate::m_palette

Colour scheme.

Definition at line 107 of file mythuihelper.cpp.

◆ m_wmult

float MythUIHelperPrivate::m_wmult {1.0F}

Definition at line 109 of file mythuihelper.cpp.

Referenced by MythUIHelper::GetScreenSettings(), and StoreGUIsettings().

◆ m_hmult

float MythUIHelperPrivate::m_hmult {1.0F}

Definition at line 110 of file mythuihelper.cpp.

Referenced by MythUIHelper::GetScreenSettings(), and StoreGUIsettings().

◆ m_baseSize

QSize MythUIHelperPrivate::m_baseSize { 800, 600 }

◆ m_isWide

bool MythUIHelperPrivate::m_isWide {false}

◆ m_imageCache

QMap<QString, MythImage *> MythUIHelperPrivate::m_imageCache

◆ m_cacheTrack

QMap<QString, qint64> MythUIHelperPrivate::m_cacheTrack

◆ m_cacheLock

QMutex* MythUIHelperPrivate::m_cacheLock {nullptr}

◆ m_cacheSize

QAtomicInteger<qint64> MythUIHelperPrivate::m_cacheSize {0}

◆ m_maxCacheSize

QAtomicInteger<qint64> MythUIHelperPrivate::m_maxCacheSize {30 * 1024 * 1024}

Definition at line 131 of file mythuihelper.cpp.

Referenced by MythUIHelper::CacheImage(), and MythUIHelper::Init().

◆ m_screenRect

QRect MythUIHelperPrivate::m_screenRect { 0, 0, 0, 0}

◆ x_override

int MythUIHelperPrivate::x_override = -1
static

◆ y_override

int MythUIHelperPrivate::y_override = -1
static

◆ w_override

int MythUIHelperPrivate::w_override = -1
static

◆ h_override

int MythUIHelperPrivate::h_override = -1
static

◆ m_themecachedir

QString MythUIHelperPrivate::m_themecachedir

◆ m_userThemeDir

QString MythUIHelperPrivate::m_userThemeDir

◆ m_screensaver

ScreenSaverControl* MythUIHelperPrivate::m_screensaver {nullptr}

◆ m_screensaverEnabled

bool MythUIHelperPrivate::m_screensaverEnabled {false}

◆ m_display

MythDisplay* MythUIHelperPrivate::m_display {nullptr}

◆ m_screenSetup

bool MythUIHelperPrivate::m_screenSetup {false}

Definition at line 151 of file mythuihelper.cpp.

Referenced by Init(), and MythUIHelper::IsScreenSetup().

◆ m_imageThreadPool

MThreadPool* MythUIHelperPrivate::m_imageThreadPool {nullptr}

Definition at line 153 of file mythuihelper.cpp.

Referenced by MythUIHelper::GetImageThreadPool(), and ~MythUIHelperPrivate().

◆ m_callbacks

MythUIMenuCallbacks MythUIHelperPrivate::m_callbacks {nullptr,nullptr,nullptr,nullptr,nullptr}

Definition at line 155 of file mythuihelper.cpp.

Referenced by MythUIHelper::GetMenuCBs(), and MythUIHelper::Init().

◆ m_parent

MythUIHelper* MythUIHelperPrivate::m_parent {nullptr}

Definition at line 157 of file mythuihelper.cpp.

◆ m_fontStretch

int MythUIHelperPrivate::m_fontStretch {100}

◆ m_searchPaths

QStringList MythUIHelperPrivate::m_searchPaths

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