Go to the documentation of this file.
33 const QString &name =
"ThemeChooser");
36 bool Create(
void)
override;
37 void Load(
void)
override;
38 void Init(
void)
override;
QMap< QString, ThemeInfo * > m_themeNameInfos
QString m_lastKnownThemeVersion
View and select installed themes.
MythUIButtonList * m_themes
Image widget, displays a single image or multiple images in sequence.
void customEvent(QEvent *e) override
MythDialogBox * m_popupMenu
@ dsDownloadingOnFrontend
void refreshDownloadableThemes(void)
bool m_refreshDownloadableThemes
Screen in which all other widgets are contained and rendered.
void popupClosed(const QString &which, int result)
void updateProgressBar(int bytesReceived, int bytesTotal)
QStringList m_mythVersions
ThemeChooser(MythScreenStack *parent, const QString &name="ThemeChooser")
Creates a new ThemeChooser Screen.
bool LoadVersion(const QString &version, QStringList &themesSeen, bool alert_user)
bool Create(void) override
Basic menu dialog, message and a list of options.
ThemeInfo * loadThemeInfo(const QFileInfo &theme)
ThemeInfo * m_downloadTheme
void checkForUpdate(void)
void Load(void) override
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (S...
~ThemeUpdateChecker(void) override
void toggleFullscreenPreview(void)
All purpose text widget, displays a text string.
bool m_fullPreviewShowing
DownloadState m_downloadState
QMap< QString, QString > m_themeStatuses
QMap< QString, ThemeInfo * > m_themeFileNameInfos
MythUIText * m_fullScreenName
MythUIImage * m_fullScreenPreview
static void toggleThemeUpdateNotifications(void)
MythUIStateType * m_fullPreviewStateType
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
void Init(void) override
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in...
This widget is used for grouping other widgets for display when a particular named state is called....
bool removeThemeDir(const QString &dirname)
void itemChanged(MythUIButtonListItem *item)