From 0b6b327b0e28b1319fb64712a9be040c58b6ea9c Mon Sep 17 00:00:00 2001 From: quillford Date: Thu, 12 Mar 2015 15:55:10 -0700 Subject: [PATCH] Disable/Enable Temperature UI with other elements --- mainwindow.cpp | 3 +++ mainwindow.ui | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) 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 bb6ea36..7f0030f 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -416,7 +416,7 @@ - B tmp + Bed tmp @@ -903,6 +903,13 @@ STOP Console + + + + Send + + + @@ -923,13 +930,6 @@ STOP - - - - Send - - -