MythTV  master
Classes | Macros | Functions | Variables
mythuihelper.cpp File Reference
#include "mythuihelper.h"
#include <cmath>
#include <unistd.h>
#include <QImage>
#include <QPixmap>
#include <QMutex>
#include <QPalette>
#include <QMap>
#include <QDir>
#include <QFileInfo>
#include <QApplication>
#include <QPainter>
#include <QStyleFactory>
#include <QSize>
#include <QFile>
#include <QAtomicInt>
#include <QEventLoop>
#include <QTimer>
#include <QScreen>
#include "mythdirs.h"
#include "mythlogging.h"
#include "mythdownloadmanager.h"
#include "mythdb.h"
#include "remotefile.h"
#include "mythcorecontext.h"
#include "storagegroup.h"
#include "mythdate.h"
#include "mthreadpool.h"
#include "mythprogressdialog.h"
#include "mythimage.h"
#include "screensaver.h"
#include "mythmainwindow.h"
#include "themeinfo.h"
#include "x11colors.h"
#include "mythdisplay.h"
Include dependency graph for mythuihelper.cpp:

Go to the source code of this file.

Classes

class  MythUIHelperPrivate
 

Macros

#define LOC   QString("MythUIHelper: ")
 

Functions

MythUIHelperGetMythUI ()
 
void DestroyMythUI ()
 

Variables

static MythUIHelpermythui = nullptr
 
static QMutex uiLock
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythUIHelper: ")

Definition at line 43 of file mythuihelper.cpp.

Function Documentation

◆ GetMythUI()

MythUIHelper* GetMythUI ( )

Definition at line 81 of file mythuihelper.cpp.

Referenced by ThemeUpdateChecker::checkForUpdate(), MythBrowser::Create(), MythUIVirtualKeyboard::Create(), GalleryThumbView::customEvent(), MythMainWindow::customEvent(), MythMainWindow::EnterStandby(), MythMainWindow::ExitStandby(), MythWebPage::extension(), MythThemedMenu::findMenuFile(), MythUIImage::FindRandomImage(), MythThemedMenu::handleAction(), MythThemeBase::Init(), MythMainWindow::Init(), MythContextPrivate::Init(), MythUIWebBrowser::Init(), TV::Init(), GameHandler::Launchgame(), MythImage::Load(), MythUIImage::Load(), XMLParseBase::LoadBaseTheme(), MenuBase::LoadFileHelper(), ImageLoader::LoadImage(), MythUIVirtualKeyboard::loadKeyDefinitions(), loadScreens(), XMLParseBase::LoadWindowFromXML(), main(), MenuTheme(), MythImage::MythImage(), MythImageReader::MythImageReader(), mythplugin_config(), OSD::OverrideUIScale(), MythUIGuideGrid::parseDefaultCategoryColors(), MythUIGuideGrid::ParseElement(), MythUIText::ParseElement(), playDisc(), Frontend::PlayRecording(), NetworkControl::processJump(), NetworkControl::processPlay(), NetworkControl::processQuery(), NetworkControl::processTheme(), SchemaUpgradeWizard::PromptForUpgrade(), MythThemeBase::Reload(), reloadTheme(), EditAlbumartDialog::removeCachedImage(), GalleryThumbView::RemoveImages(), ThemeChooser::removeThemeDir(), resetTheme(), OSD::RevertUIScale(), MetadataImageDownload::run(), SettingsHelper::RunEpilog(), runMenu(), runMusicPlayback(), runMusicSelection(), runMusicStreamPlayback(), SettingsHelper::RunProlog(), MusicPlayer::sendNotification(), MythFontProperties::SetPixelSize(), MythRect::setRect(), MythContextPrivate::TempMainWindow(), VisualBase::VisualBase(), XMLParseBase::WindowExists(), ZMLivePlayer::ZMLivePlayer(), MythUIImage::~MythUIImage(), VisualBase::~VisualBase(), and ZMLivePlayer::~ZMLivePlayer().

◆ DestroyMythUI()

void DestroyMythUI ( )

Definition at line 86 of file mythuihelper.cpp.

Referenced by main(), and MythContextPrivate::~MythContextPrivate().

Variable Documentation

◆ mythui

MythUIHelper* mythui = nullptr
static

Definition at line 45 of file mythuihelper.cpp.

Referenced by MythUIHelper::destroyMythUI(), and MythUIHelper::getMythUI().

◆ uiLock

QMutex uiLock
static

Definition at line 46 of file mythuihelper.cpp.

Referenced by MythUIHelper::destroyMythUI(), and MythUIHelper::getMythUI().