diff --git a/mainwindow.cpp b/mainwindow.cpp index 7321e37..f58c0fb 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -18,6 +18,7 @@ MainWindow::MainWindow(QWidget *parent) : ui->actionPrint_from_SD->setDisabled(true); ui->actionSet_SD_printing_mode->setDisabled(true); ui->actionEEPROM_editor->setDisabled(true); + ui->statusGroup->setDisabled(true); ui->extruderlcd->setPalette(Qt::red); ui->bedlcd->setPalette(Qt::red); ui->sendtext->installEventFilter(this); @@ -267,6 +268,7 @@ void MainWindow::serialconnect() ui->progressBar->setValue(0); ui->controlBox->setDisabled(false); ui->consoleGroup->setDisabled(false); + ui->statusGroup->setDisabled(false); ui->actionPrint_from_SD->setEnabled(true); ui->actionSet_SD_printing_mode->setEnabled(true); if(firmware == Repetier) ui->actionEEPROM_editor->setDisabled(false); @@ -285,6 +287,7 @@ void MainWindow::serialconnect() ui->consoleGroup->setDisabled(true); ui->actionPrint_from_SD->setDisabled(true); ui->actionSet_SD_printing_mode->setDisabled(true); + ui->statusGroup->setDisabled(true); ui->actionEEPROM_editor->setDisabled(false); } } diff --git a/mainwindow.ui b/mainwindow.ui index 9db0f4a..dff62a8 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -43,13 +43,6 @@ Serial - - - - Ports - - - @@ -60,6 +53,16 @@ + + + + + + + Ports + + + @@ -67,9 +70,6 @@ - - - @@ -143,6 +143,15 @@ + + this is tool tip e0 + + + this is status e0 + + + this is e0 + E0 @@ -164,6 +173,9 @@ + + + H Y @@ -206,6 +218,9 @@ + + Qt::AlignCenter + 500 @@ -214,19 +229,22 @@ - OFF + Off - SET + Set + + Qt::AlignCenter + 500 @@ -235,14 +253,14 @@ - SET + Set - OFF + Off @@ -251,6 +269,9 @@ 100 + + Qt::AlignCenter + false @@ -275,15 +296,23 @@ - SET + Set + + + 13 + + 100 + + Qt::AlignCenter + false @@ -308,35 +337,35 @@ - SET + Set - FAN ON + Fan On - FAN OFF + Fan Off - ATX ON + ATX On - ATX OFF + ATX Off @@ -376,19 +405,6 @@ - - - - - 16777215 - 15 - - - - Step - - - @@ -415,7 +431,7 @@ - B tmp + Bed tmp @@ -868,6 +884,19 @@ STOP + + + + + 16777215 + 15 + + + + Step Increment + + + @@ -889,6 +918,13 @@ STOP Console + + + + Send + + + @@ -909,13 +945,6 @@ STOP - - - - Send - - - @@ -1014,7 +1043,7 @@ STOP - Status + Temperature