MythUIHelperPrivate Class Reference

List of all members.

Public Member Functions

 MythUIHelperPrivate (MythUIHelper *p)
 ~MythUIHelperPrivate ()
void Init ()
void GetScreenBounds (void)
 Get screen size from Qt, respecting for user's multiple screen prefs.
void StoreGUIsettings (void)
 Apply any user overrides to the screen geometry.
double GetPixelAspectRatio (void)

Public Attributes

Settingsm_qtThemeSettings
 Text/button/background colours, etc.
bool m_themeloaded
 Do we have a palette and pixmap to use?
QString m_menuthemepathname
QString m_themepathname
QString m_themename
QPalette m_palette
 Colour scheme.
float m_wmult
float m_hmult
float m_pixelAspectRatio
int m_xbase
int m_ybase
int m_height
int m_width
int m_baseWidth
int m_baseHeight
bool m_isWide
QMap< QString, MythImage * > imageCache
QMap< QString, uintCacheTrack
QMutex * m_cacheLock
size_t m_cacheSize
QMutex * m_cacheSizeLock
uint maxImageCacheSize
int m_screenxbase
int m_screenybase
int m_screenwidth
int m_screenheight
QString themecachedir
QString m_userThemeDir
ScreenSaverControlscreensaver
bool screensaverEnabled
DisplayResdisplay_res
bool screenSetup
MThreadPoolm_imageThreadPool
MythUIMenuCallbacks callbacks
MythUIHelperparent
int m_fontStretch

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 76 of file mythuihelper.cpp.


Constructor & Destructor Documentation

MythUIHelperPrivate::MythUIHelperPrivate ( MythUIHelper p  ) 

Definition at line 151 of file mythuihelper.cpp.

MythUIHelperPrivate::~MythUIHelperPrivate (  ) 

Definition at line 166 of file mythuihelper.cpp.


Member Function Documentation

void MythUIHelperPrivate::Init ( void   ) 

Definition at line 190 of file mythuihelper.cpp.

Referenced by MythUIHelper::Init().

void MythUIHelperPrivate::GetScreenBounds ( void   ) 

Get screen size from Qt, respecting for user's multiple screen prefs.

If the windowing system environment has multiple screens (e.g. Xinerama or Mac OS X), QApplication::desktop()->width() will span all of them, so we usually need to get the geometry of a specific screen.

Definition at line 208 of file mythuihelper.cpp.

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

void MythUIHelperPrivate::StoreGUIsettings ( void   ) 

Apply any user overrides to the screen geometry.

Definition at line 294 of file mythuihelper.cpp.

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

double MythUIHelperPrivate::GetPixelAspectRatio ( void   ) 

Definition at line 366 of file mythuihelper.cpp.

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


Member Data Documentation

Do we have a palette and pixmap to use?

Definition at line 91 of file mythuihelper.cpp.

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

Definition at line 92 of file mythuihelper.cpp.

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

Definition at line 94 of file mythuihelper.cpp.

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

Colour scheme.

Definition at line 95 of file mythuihelper.cpp.

Referenced by MythUIHelper::ThemeWidget().

Definition at line 97 of file mythuihelper.cpp.

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

Definition at line 97 of file mythuihelper.cpp.

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

Definition at line 98 of file mythuihelper.cpp.

Referenced by GetPixelAspectRatio().

Definition at line 115 of file mythuihelper.cpp.

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

Definition at line 119 of file mythuihelper.cpp.

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

Definition at line 119 of file mythuihelper.cpp.

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

Definition at line 135 of file mythuihelper.cpp.

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

Definition at line 137 of file mythuihelper.cpp.

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

Definition at line 139 of file mythuihelper.cpp.

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

Definition at line 141 of file mythuihelper.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:18 2012 for MythTV by  doxygen 1.6.3