diff --git a/mainwindow.cpp b/mainwindow.cpp index 3d72201..78f9b61 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -62,15 +62,15 @@ void MainWindow::initStateMachine() mState.start(); } +void MainWindow::on_btn_startstop_clicked() +{ + triggerCssUpdate(); +} + void MainWindow::triggerCssUpdate() { qDebug() << QTime::currentTime() << "updating CSS"; // rogo: delete setStyleSheet(mCss); } -void MainWindow::on_btn_startstop_clicked() -{ - triggerCssUpdate(); -} - } diff --git a/mainwindow.ui b/mainwindow.ui index f1c5053..00a7ee1 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -67,6 +67,12 @@ Start + + true + + + true + false @@ -546,6 +552,7 @@ + btn_startstop r_0 r_11 r_22 @@ -554,8 +561,7 @@ r_74 r_90 r_120 - spinBox - btn_startstop + r_custom diff --git a/shutdown2.pro.user b/shutdown2.pro.user index 8a69f2f..d90bdb9 100644 --- a/shutdown2.pro.user +++ b/shutdown2.pro.user @@ -1,6 +1,5 @@ - EnvironmentId