From ea37a4ebfe0635519bb7ca83afce7c953daa8629 Mon Sep 17 00:00:00 2001 From: NeoTheFox Date: Sun, 1 Mar 2015 20:50:46 +0300 Subject: [PATCH] Monor UI tweaks --- mainwindow.cpp | 4 ++-- mainwindow.ui | 57 +++++++++++++++++++++++++---------------------- settingswindow.ui | 4 ++-- 3 files changed, 34 insertions(+), 31 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 222e563..e901808 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -303,7 +303,7 @@ void MainWindow::on_atxoffbtn_clicked() void MainWindow::on_etmpset_clicked() { - QString command = "M104 S" + ui->etmpspin->text(); + QString command = "M80\nM104 S" + ui->etmpspin->text(); sendLine(command); } @@ -314,7 +314,7 @@ void MainWindow::on_etmpoff_clicked() void MainWindow::on_btmpset_clicked() { - QString command = "M140 S" + ui->btmpspin->text(); + QString command = "M80\nM140 S" + ui->btmpspin->text(); sendLine(command); } diff --git a/mainwindow.ui b/mainwindow.ui index 10b0fd0..377ece3 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -112,7 +112,7 @@ - 1.000000000000000 + 0.100000000000000 150.000000000000000 @@ -262,7 +262,7 @@ - 1.000000000000000 + 0.100000000000000 100.000000000000000 @@ -502,6 +502,9 @@ + + false + Recent @@ -556,8 +559,8 @@ serialupdate() - 61 - 88 + 82 + 84 247 @@ -588,8 +591,8 @@ serialconnect() - 61 - 117 + 82 + 116 247 @@ -604,8 +607,8 @@ xhome() - 434 - 88 + 455 + 85 383 @@ -620,8 +623,8 @@ clear() - 624 - 335 + 739 + 331 654 @@ -636,8 +639,8 @@ xplus() - 327 - 117 + 323 + 118 383 @@ -652,12 +655,12 @@ click() - 540 - 369 + 739 + 360 - 548 - 397 + 739 + 389 @@ -684,8 +687,8 @@ yplus() - 274 - 88 + 285 + 85 383 @@ -700,8 +703,8 @@ xminus() - 236 - 120 + 248 + 118 189 @@ -721,7 +724,7 @@ 356 - -10 + 0 @@ -732,8 +735,8 @@ zminus() - 353 - 153 + 367 + 151 209 @@ -748,8 +751,8 @@ ezero() - 399 - 123 + 411 + 118 220 @@ -796,8 +799,8 @@ eplus() - 397 - 93 + 411 + 85 397 diff --git a/settingswindow.ui b/settingswindow.ui index 17bce22..0cf8ee6 100644 --- a/settingswindow.ui +++ b/settingswindow.ui @@ -55,7 +55,7 @@ A good default is 5, lower = fater, higher = less CPU load - 100 + -1 1 @@ -85,7 +85,7 @@ A good default is 5000. More = less interruptions, less = better temperature monitoring - 100 + -1 500