29 #include "ui_rebootpage.h"
37 ui->yellowLabel->setVisible(
false);
38 ui->redLabel->setVisible(
true);
43 disconnect(&m_timer, &QTimer::timeout,
this, &RebootPage::toggleLabel);
50 if (!m_timer.isActive()) {
51 connect(&m_timer, &QTimer::timeout,
this, &RebootPage::toggleLabel);
52 m_timer.setInterval(500);
53 m_timer.setSingleShot(
false);
63 void RebootPage::toggleLabel()
66 ui->yellowLabel->setVisible(m_toggl);
67 ui->redLabel->setVisible(!m_toggl);
The SetupWizard class is the main interface to the setup wizard. It provides selects the sequence of ...
RebootPage(SetupWizard *wizard, QWidget *parent=nullptr)