Commit 3606eb85f1d7c09a7b216123e2be41196b5ea60d
1 parent
ee1a8b1afa
Exists in
master
and in
2 other branches
게이지 범위 설정 누락
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/gui/oven_control/preheatpopup.cpp
... | ... | @@ -26,6 +26,8 @@ PreheatPopup::PreheatPopup(QWidget *parent, Oven *oven) : |
26 | 26 | showCurrentTempTimer.setInterval(1000); |
27 | 27 | connect(&showCurrentTempTimer, SIGNAL(timeout()), SLOT(showCurrentTemp())); |
28 | 28 | |
29 | + ui->humidityGauge->setMaximum(100); | |
30 | + ui->heatGauge->setMaximum(oven->maxTemp()); | |
29 | 31 | ui->preheatGauge->setMaximum(oven->temp()); |
30 | 32 | ui->preheatGauge->setMinimum(oven->currentTemp()); |
31 | 33 | ui->preheatGauge->setValue(oven->currentTemp()); | ... | ... |