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 GetScreenBounds (void)
 Get screen size from Qt, respecting for user's multiple screen prefs. More...
 
void StoreGUIsettings (void)
 Apply any user overrides to the screen geometry. More...
 
double GetPixelAspectRatio (void)
 
void WaitForScreenChange (void) const
 

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}
 
float m_pixelAspectRatio {-1.0F}
 
int m_xbase {0}
 
int m_ybase {0}
 
int m_height {0}
 
int m_width {0}
 
int m_baseWidth {800}
 
int m_baseHeight {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}
 
int m_screenxbase {0}
 
int m_screenybase {0}
 
int m_screenwidth {0}
 
int m_screenheight {0}
 
QString m_themecachedir
 
QString m_userThemeDir
 
ScreenSaverControlm_screensaver {nullptr}
 
bool m_screensaverEnabled {false}
 
DisplayResm_display_res {nullptr}
 
bool m_screenSetup {false}
 
MThreadPoolm_imageThreadPool {nullptr}
 
MythUIMenuCallbacks callbacks
 
MythUIHelperparent {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 92 of file mythuihelper.cpp.

Constructor & Destructor Documentation

◆ MythUIHelperPrivate()

MythUIHelperPrivate::MythUIHelperPrivate ( MythUIHelper p)
explicit

Definition at line 187 of file mythuihelper.cpp.

◆ ~MythUIHelperPrivate()

MythUIHelperPrivate::~MythUIHelperPrivate ( )

Definition at line 199 of file mythuihelper.cpp.

Member Function Documentation

◆ Init()

void MythUIHelperPrivate::Init ( void  )

Definition at line 221 of file mythuihelper.cpp.

Referenced by MythUIHelper::Init().

◆ GetScreenBounds()

void MythUIHelperPrivate::GetScreenBounds ( void  )

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

If the windowing system environment has multiple screens, then use QScreen::virtualSize() to get the size of the virtual desktop. Otherwise QScreen::size() or QScreen::availableSize() will provide the size of an individual screen.

Definition at line 240 of file mythuihelper.cpp.

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

◆ StoreGUIsettings()

void MythUIHelperPrivate::StoreGUIsettings ( void  )

Apply any user overrides to the screen geometry.

Definition at line 298 of file mythuihelper.cpp.

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

◆ GetPixelAspectRatio()

double MythUIHelperPrivate::GetPixelAspectRatio ( void  )

Definition at line 370 of file mythuihelper.cpp.

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

◆ WaitForScreenChange()

void MythUIHelperPrivate::WaitForScreenChange ( void  ) const

Definition at line 390 of file mythuihelper.cpp.

Referenced by MythUIHelper::LoadQtConfig().

Member Data Documentation

◆ m_themeloaded

bool MythUIHelperPrivate::m_themeloaded {false}

Do we have a palette and pixmap to use?

Definition at line 106 of file mythuihelper.cpp.

Referenced by MythUIHelper::LoadQtConfig().

◆ m_menuthemepathname

QString MythUIHelperPrivate::m_menuthemepathname

Definition at line 107 of file mythuihelper.cpp.

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

◆ m_themepathname

QString MythUIHelperPrivate::m_themepathname

Definition at line 108 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 110 of file mythuihelper.cpp.

◆ m_wmult

float MythUIHelperPrivate::m_wmult {1.0F}

Definition at line 112 of file mythuihelper.cpp.

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

◆ m_hmult

float MythUIHelperPrivate::m_hmult {1.0F}

Definition at line 113 of file mythuihelper.cpp.

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

◆ m_pixelAspectRatio

float MythUIHelperPrivate::m_pixelAspectRatio {-1.0F}

Definition at line 114 of file mythuihelper.cpp.

Referenced by GetPixelAspectRatio().

◆ m_xbase

int MythUIHelperPrivate::m_xbase {0}

◆ m_ybase

int MythUIHelperPrivate::m_ybase {0}

◆ m_height

int MythUIHelperPrivate::m_height {0}

◆ m_width

int MythUIHelperPrivate::m_width {0}

◆ m_baseWidth

int MythUIHelperPrivate::m_baseWidth {800}

◆ m_baseHeight

int MythUIHelperPrivate::m_baseHeight {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 143 of file mythuihelper.cpp.

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

◆ m_screenxbase

int MythUIHelperPrivate::m_screenxbase {0}

Definition at line 148 of file mythuihelper.cpp.

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

◆ m_screenybase

int MythUIHelperPrivate::m_screenybase {0}

Definition at line 149 of file mythuihelper.cpp.

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

◆ m_screenwidth

int MythUIHelperPrivate::m_screenwidth {0}

◆ m_screenheight

int MythUIHelperPrivate::m_screenheight {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_res

DisplayRes* MythUIHelperPrivate::m_display_res {nullptr}

◆ m_screenSetup

bool MythUIHelperPrivate::m_screenSetup {false}

Definition at line 169 of file mythuihelper.cpp.

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

◆ m_imageThreadPool

MThreadPool* MythUIHelperPrivate::m_imageThreadPool {nullptr}

Definition at line 171 of file mythuihelper.cpp.

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

◆ callbacks

MythUIMenuCallbacks MythUIHelperPrivate::callbacks

◆ parent

MythUIHelper* MythUIHelperPrivate::parent {nullptr}

Definition at line 175 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: