Go to the documentation of this file.
58 using namespace std::chrono_literals;
96 LOG(VB_GENERAL, LOG_ALERT,
97 "Cannot load screen 'guistartup'");
186 QString message = tr(
"Do you really want to exit MythTV?");
191 if (confirmdialog->Create())
MythTimer * m_progressTimer
bool Create(void) override
MythUIButton * m_dummyButton
A QElapsedTimer based timer to replace use of QTime as a timer.
void addMSecs(int ms)
Adds an offset to the last call to start() or restart().
void stop(void)
Stops timer, next call to isRunning() will return false and any calls to elapsed() or restart() will ...
void Close(void) override
void start(void)
starts measuring elapsed time.
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
Screen in which all other widgets are contained and rendered.
MythUIButton * m_setupButton
bool SetFocusWidget(MythUIType *widget=nullptr)
MythUIStateType * m_messageState
void BuildFocusList(void)
void OnClosePromptReturn(bool submit)
GUIStartup(MythScreenStack *parent, QEventLoop *eventLoop)
MythUIStateType * m_statusState
static bool Assign(ContainerType *container, UIType *&item, const QString &name, bool *err=nullptr)
MythUIProgressBar * m_progressBar
MythUIButton * m_searchButton
int elapsed(void)
Returns milliseconds elapsed since last start() or restart()
bool setMessageState(const QString &name)
bool setStatusState(const QString &name)
Dialog asking for user confirmation. Ok and optional Cancel button.
static bool LoadWindowFromXML(const QString &xmlfile, const QString &windowname, MythUIType *parent)
~GUIStartup(void) override
ISO 3166-1 support functions.
void updateProgress(void)
MythMainWindow * GetMythMainWindow(void)
MythUIButton * m_exitButton
MythScreenStack * GetStack(const QString &Stackname)
ISO 639-1 and ISO 639-2 support functions.
virtual void AddScreen(MythScreenType *screen, bool allowFade=true)
MythUIButton * m_retryButton
bool DisplayState(const QString &name)
void cancelPortCheck(void)