diff --git a/app/gui/oven_control/coretempsettingpopup.cpp b/app/gui/oven_control/coretempsettingpopup.cpp new file mode 100644 index 0000000..8be1c88 --- /dev/null +++ b/app/gui/oven_control/coretempsettingpopup.cpp @@ -0,0 +1,106 @@ +#include "coretempsettingpopup.h" +#include "ui_coretempsettingpopup.h" + +#include "config.h" +#include "soundplayer.h" +#include "stringer.h" + +namespace { + +enum TemperatureFormat { Celsius, Fahrenheit }; +TemperatureFormat temperatureFormat() +{ + Define::config_item item = Config::getInstance()->getConfigValue(Define::config_temptype); + switch (item.d32) + { + case Define::temp_type_f: + return Fahrenheit; + case Define::temp_type_c: + default: + return Celsius; + } +} + +int toFahrenheit(int celsius) +{ + return celsius * 1.8 + 32; +} + +} + +CoreTempSettingPopup::CoreTempSettingPopup(QWidget *parent) : + QWidget(parent), + ui(new Ui::CoreTempSettingPopup) +{ + ui->setupUi(this); + + setAttribute(Qt::WA_DeleteOnClose); + + oven = Oven::getInstance(); + connect(oven, SIGNAL(changed(Oven*)), SLOT(updateView())); + + ui->coreTempSlider->setRange(oven->minInterTemp(), oven->maxInterTemp()); + ui->coreTempSlider->setValue(oven->interTemp()); + + connect(ui->coreTempSlider, SIGNAL(sliderMoved(int)), SLOT(updateView())); + connect(ui->coreTempSlider, SIGNAL(valueChanged(int)), SLOT(updateView())); + + switch (temperatureFormat()) + { + case Fahrenheit: + ui->curTempUnitLabel->setText("℉"); + ui->curCoreTempUnitLabel->setText("℉"); + break; + case Celsius: + ui->curTempUnitLabel->setText("℃"); + ui->curCoreTempUnitLabel->setText("℃"); + break; + default: + ui->curTempUnitLabel->hide(); + ui->curCoreTempUnitLabel->hide(); + } + + foreach (QPushButton *button, findChildren<QPushButton *>()) + connect(button, &QPushButton::pressed, SoundPlayer::playClick); + + updateView(); +} + +CoreTempSettingPopup::~CoreTempSettingPopup() +{ + delete ui; +} + +void CoreTempSettingPopup::updateView() +{ + int coreTemp = ui->coreTempSlider->sliderPosition(); + ui->coreTempLabel->setText(Stringer::temperature(coreTemp, Stringer::fontSize14)); + + ui->curHumidityLabel->setText(QString::number(oven->currentHumidity())); + ui->targetHumidityLabel->setText(QString::number(oven->humidity())); + + switch (temperatureFormat()) + { + case Fahrenheit: + ui->curTempLabel->setText(QString::number(toFahrenheit(oven->currentTemp()))); + ui->curCoreTempLabel->setText(QString::number(toFahrenheit(oven->currentInterTemp()))); + break; + case Celsius: + default: + ui->curTempLabel->setText(QString::number(oven->currentTemp())); + ui->curCoreTempLabel->setText(QString::number(oven->currentInterTemp())); + break; + } +} + +void CoreTempSettingPopup::on_cancelButton_clicked() +{ + close(); +} + +void CoreTempSettingPopup::on_applyButton_clicked() +{ + oven->setInterTemp(ui->coreTempSlider->value()); + oven->setInterTempEnabled(true); + close(); +} diff --git a/app/gui/oven_control/coretempsettingpopup.h b/app/gui/oven_control/coretempsettingpopup.h new file mode 100644 index 0000000..2d0673e --- /dev/null +++ b/app/gui/oven_control/coretempsettingpopup.h @@ -0,0 +1,30 @@ +#ifndef CORETEMPSETTINGPOPUP_H +#define CORETEMPSETTINGPOPUP_H + +#include <QWidget> + +#include "oven.h" + +namespace Ui { +class CoreTempSettingPopup; +} + +class CoreTempSettingPopup : public QWidget +{ + Q_OBJECT + +public: + explicit CoreTempSettingPopup(QWidget *parent = 0); + ~CoreTempSettingPopup(); + +private: + Ui::CoreTempSettingPopup *ui; + Oven *oven; + +private slots: + void updateView(); + void on_cancelButton_clicked(); + void on_applyButton_clicked(); +}; + +#endif // CORETEMPSETTINGPOPUP_H diff --git a/app/gui/oven_control/coretempsettingpopup.ui b/app/gui/oven_control/coretempsettingpopup.ui new file mode 100644 index 0000000..2fabf6f --- /dev/null +++ b/app/gui/oven_control/coretempsettingpopup.ui @@ -0,0 +1,1031 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>CoreTempSettingPopup</class> + <widget class="QWidget" name="CoreTempSettingPopup"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>900</width> + <height>1600</height> + </rect> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <property name="styleSheet"> + <string notr="true">#background { +background-image: url(:/images/background/manual_core.png); +margin-top: -720px; +} + +QPushButton[style="icon"] { +background-image: url(:/images/slider_icon/background.png); +background-repeat: no-repeat; +background-position: center; +border: none; +} + +QPushButton[style="interTemp"] { +background-repeat: no-repeat; +background-position: center; +background-clip: border; +background-origin: border; + +border-top: 130px; +border-style: hidden; +color: white; +font-size: 30px; +} + +QSlider::groove { +background-image: url(:/images/slider/groove_ticks.png); +background-repeat: no-repeat; +} + +QSlider::sub-page { +background-repeat: no-repeat; +margin: 5px; +} + +QSlider::handle { +background-image: url(:/images/slider/handle_big.png); +background-repeat: no-repeat; +width: 23px; +height: 33px; +}</string> + </property> + <widget class="QLabel" name="background"> + <property name="geometry"> + <rect> + <x>0</x> + <y>720</y> + <width>900</width> + <height>730</height> + </rect> + </property> + </widget> + <widget class="QLabel" name="label_2"> + <property name="geometry"> + <rect> + <x>225</x> + <y>759</y> + <width>1</width> + <height>121</height> + </rect> + </property> + <property name="pixmap"> + <pixmap resource="resources.qrc">:/images/line/manual_core_temp_vertical.png</pixmap> + </property> + </widget> + <widget class="QLabel" name="targetHumidityLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>225</x> + <y>770</y> + <width>225</width> + <height>100</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>16</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>0</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QPushButton" name="applyButton"> + <property name="geometry"> + <rect> + <x>450</x> + <y>1260</y> + <width>250</width> + <height>190</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/ok.png); } +QPushButton:pressed { background-image: url(:/images/manual_button/ok_ov.png); }</string> + </property> + <property name="text"> + <string>확인/적용하기</string> + </property> + <property name="style" stdset="0"> + <string notr="true">interTemp</string> + </property> + </widget> + <widget class="QLabel" name="curCoreTempUnitLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>850</x> + <y>770</y> + <width>50</width> + <height>100</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Roboto</family> + <pointsize>11</pointsize> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>℃</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QLabel" name="label"> + <property name="geometry"> + <rect> + <x>18</x> + <y>920</y> + <width>863</width> + <height>1</height> + </rect> + </property> + <property name="pixmap"> + <pixmap resource="resources.qrc">:/images/line/manual_core_temp_horizontal.png</pixmap> + </property> + </widget> + <widget class="QLabel" name="steamLabel_8"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>450</x> + <y>720</y> + <width>225</width> + <height>50</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>11</pointsize> + </font> + </property> + <property name="text"> + <string>내부 온도</string> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignHCenter</set> + </property> + </widget> + <widget class="QLabel" name="curTempUnitLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>625</x> + <y>770</y> + <width>50</width> + <height>100</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Roboto</family> + <pointsize>11</pointsize> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>℃</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QLabel" name="curHumidityLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>770</y> + <width>225</width> + <height>100</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>16</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>0</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QPushButton" name="coreTempButton"> + <property name="geometry"> + <rect> + <x>27</x> + <y>954</y> + <width>140</width> + <height>140</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton { image: url(:/images/slider_icon/core_temp_enabled.png); } +QPushButton:pressed { image: url(:/images/slider_icon/core_temp_ov.png); }</string> + </property> + <property name="style" stdset="0"> + <string>icon</string> + </property> + </widget> + <widget class="QLabel" name="curTempLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>450</x> + <y>770</y> + <width>225</width> + <height>100</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>16</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>0</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QSlider" name="coreTempSlider"> + <property name="geometry"> + <rect> + <x>185</x> + <y>1012</y> + <width>666</width> + <height>33</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/core.png); }</string> + </property> + <property name="maximum"> + <number>6</number> + </property> + <property name="value"> + <number>0</number> + </property> + <property name="tracking"> + <bool>true</bool> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + <widget class="QLabel" name="curCoreTempLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>675</x> + <y>770</y> + <width>225</width> + <height>100</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>16</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>0</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QLabel" name="steamLabel_6"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>720</y> + <width>225</width> + <height>50</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>11</pointsize> + </font> + </property> + <property name="text"> + <string>내부 습도</string> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignHCenter</set> + </property> + </widget> + <widget class="QLabel" name="label_4"> + <property name="geometry"> + <rect> + <x>675</x> + <y>759</y> + <width>1</width> + <height>121</height> + </rect> + </property> + <property name="pixmap"> + <pixmap resource="resources.qrc">:/images/line/manual_core_temp_vertical.png</pixmap> + </property> + </widget> + <widget class="QPushButton" name="cancelButton"> + <property name="geometry"> + <rect> + <x>200</x> + <y>1260</y> + <width>250</width> + <height>190</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/back.png); } +QPushButton:pressed { background-image: url(:/images/manual_button/back_ov.png); }</string> + </property> + <property name="text"> + <string>이전으로</string> + </property> + <property name="style" stdset="0"> + <string notr="true">interTemp</string> + </property> + </widget> + <widget class="QLabel" name="label_3"> + <property name="geometry"> + <rect> + <x>450</x> + <y>759</y> + <width>1</width> + <height>121</height> + </rect> + </property> + <property name="pixmap"> + <pixmap resource="resources.qrc">:/images/line/manual_core_temp_vertical.png</pixmap> + </property> + </widget> + <widget class="QLabel" name="steamLabel_10"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>175</x> + <y>770</y> + <width>50</width> + <height>100</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Roboto</family> + <pointsize>11</pointsize> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>%</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QLabel" name="steamLabel_9"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>675</x> + <y>720</y> + <width>225</width> + <height>50</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>11</pointsize> + </font> + </property> + <property name="text"> + <string>중심 온도계 온도</string> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignHCenter</set> + </property> + </widget> + <widget class="QLabel" name="steamLabel_11"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>400</x> + <y>770</y> + <width>50</width> + <height>100</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Roboto</family> + <pointsize>11</pointsize> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>%</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QLabel" name="coreTempLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>690</x> + <y>1038</y> + <width>150</width> + <height>50</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Roboto</family> + <pointsize>16</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>℃</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="steamLabel_7"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>225</x> + <y>720</y> + <width>225</width> + <height>50</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>11</pointsize> + </font> + </property> + <property name="text"> + <string>목표 습도</string> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignHCenter</set> + </property> + </widget> + </widget> + <resources> + <include location="resources.qrc"/> + </resources> + <connections/> +</ui> diff --git a/app/gui/oven_control/manualcookwindow.cpp b/app/gui/oven_control/manualcookwindow.cpp index 928924c..580e41a 100644 --- a/app/gui/oven_control/manualcookwindow.cpp +++ b/app/gui/oven_control/manualcookwindow.cpp @@ -13,32 +13,10 @@ #include "confirmpopup.h" #include "stringer.h" #include "config.h" +#include "coretempsettingpopup.h" #include <QTime> -namespace { - -enum TemperatureFormat { Celsius, Fahrenheit }; -TemperatureFormat temperatureFormat() -{ - Define::config_item item = Config::getInstance()->getConfigValue(Define::config_temptype); - switch (item.d32) - { - case Define::temp_type_f: - return Fahrenheit; - case Define::temp_type_c: - default: - return Celsius; - } -} - -int toFahrenheit(int celsius) -{ - return celsius * 1.8 + 32; -} - -} - ManualCookWindow::ManualCookWindow(QWidget *parent, Define::Mode mode) : QMainWindow(parent), ui(new Ui::ManualCookWindow) @@ -47,8 +25,6 @@ ManualCookWindow::ManualCookWindow(QWidget *parent, Define::Mode mode) : ui->clockContainer->setParent(ui->upperStack); ui->closeDoorWidget->setParent(ui->upperStack); - ui->outerStack->setParent(ui->bodyStack); - ui->innerStack->setParent(ui->bodyStack); setAttribute(Qt::WA_DeleteOnClose); oven = Oven::getInstance(); @@ -65,11 +41,6 @@ ManualCookWindow::ManualCookWindow(QWidget *parent, Define::Mode mode) : connect(ui->tempSlider, SIGNAL(sliderMoved(int)), this, SLOT(updateLabels())); connect(ui->timeSlider, SIGNAL(sliderMoved(int)), this, SLOT(updateLabels())); connect(ui->interTempSlider, SIGNAL(sliderMoved(int)), this, SLOT(updateLabels())); - connect(ui->innerInterTempSlider, SIGNAL(sliderMoved(int)), this, SLOT(updateLabels())); - connect(ui->innerInterTempSlider, SIGNAL(valueChanged(int)), this, SLOT(updateLabels())); - - checkTimeTimer.setInterval(100); - connect(&checkTimeTimer, SIGNAL(timeout()), SLOT(checkTime())); startCookingTimer.setSingleShot(true); startCookingTimer.setInterval(3000); @@ -83,37 +54,16 @@ ManualCookWindow::ManualCookWindow(QWidget *parent, Define::Mode mode) : showCurrentTempTimer.setInterval(3000); connect(&showCurrentTempTimer, SIGNAL(timeout()), SLOT(showCurrentTemp())); - ui->bodyStack->setCurrentIndex(0); - - QTimer *setupAnimationTimer = new QTimer(this); - setupAnimationTimer->setSingleShot(true); - connect(setupAnimationTimer, SIGNAL(timeout()), SLOT(setupAnimation())); - oven->setDefault(mode); - setupAnimationTimer->start(0); - + checkTimeTimer.setInterval(100); + connect(&checkTimeTimer, SIGNAL(timeout()), SLOT(checkTime())); checkTimeTimer.start(); - switch (temperatureFormat()) - { - case Fahrenheit: - ui->steamLabel_12->setText("℉"); - ui->steamLabel_13->setText("℉"); - break; - case Celsius: - ui->steamLabel_12->setText("℃"); - ui->steamLabel_13->setText("℃"); - break; - default: - ui->steamLabel_12->hide(); - ui->steamLabel_13->hide(); - } - foreach (QPushButton *button, findChildren<QPushButton *>()) - { connect(button, &QPushButton::pressed, SoundPlayer::playClick); - } + + QTimer::singleShot(0, this, SLOT(setupAnimation())); } ManualCookWindow::ManualCookWindow(QWidget *parent, ManualCookSetting setting) @@ -230,25 +180,6 @@ void ManualCookWindow::updateLabels() } else ui->interTempLabel->setText(Stringer::unusedTemperature(Stringer::fontSize14)); - - int innerInterTemp = ui->innerInterTempSlider->sliderPosition(); - ui->innerInterTempLabel->setText(Stringer::temperature(innerInterTemp, Stringer::fontSize14)); - - ui->curHumidityLabel->setText(buf.sprintf("%d", oven->currentHumidity())); - ui->targetHumidityLabel->setText(buf.sprintf("%d", oven->humidity())); - - switch (temperatureFormat()) - { - case Fahrenheit: - ui->curTempLabel->setText(QString::number(toFahrenheit(oven->currentTemp()))); - ui->curInterTempLabel->setText(QString::number(toFahrenheit(oven->currentInterTemp()))); - break; - case Celsius: - default: - ui->curTempLabel->setText(QString::number(oven->currentTemp())); - ui->curInterTempLabel->setText(QString::number(oven->currentInterTemp())); - break; - } } void ManualCookWindow::onOvenUpdated(Oven *oven) @@ -310,11 +241,6 @@ QPushButton:pressed {\ ui->interTempSlider->setValue(oven->interTemp()); ui->interTempSlider->blockSignals(old); - old = ui->innerInterTempSlider->blockSignals(true); - ui->innerInterTempSlider->setRange(oven->minInterTemp(), oven->maxInterTemp()); - ui->innerInterTempSlider->setValue(oven->interTemp()); - ui->innerInterTempSlider->blockSignals(old); - if (oven->cooking()) ui->runStopButton->setStyleSheet( "border-image: url(:/images/manual_button/stop.png)"); @@ -377,7 +303,6 @@ void ManualCookWindow::setOvenDefault(Define::Mode mode) stop(); oven->setDefault(mode); - ui->bodyStack->setCurrentIndex(0); } void ManualCookWindow::start() @@ -462,20 +387,10 @@ void ManualCookWindow::on_interTempButton_clicked() if (oven->interTempEnabled()) oven->setInterTempEnabled(false); else - ui->bodyStack->setCurrentIndex(1); -} - -void ManualCookWindow::on_goOuterButton_clicked() -{ - ui->bodyStack->setCurrentIndex(0); -} - -void ManualCookWindow::on_applyButton_clicked() -{ - ui->bodyStack->setCurrentIndex(0); - - oven->setInterTemp(ui->innerInterTempSlider->value()); - oven->setInterTempEnabled(true); + { + CoreTempSettingPopup *p = new CoreTempSettingPopup(this); + p->show(); + } } void ManualCookWindow::on_runStopButton_clicked() diff --git a/app/gui/oven_control/manualcookwindow.h b/app/gui/oven_control/manualcookwindow.h index cdd3578..b8e7fa2 100644 --- a/app/gui/oven_control/manualcookwindow.h +++ b/app/gui/oven_control/manualcookwindow.h @@ -48,8 +48,6 @@ private slots: void on_tempButton_pressed(); void on_tempButton_released(); void on_interTempButton_clicked(); - void on_goOuterButton_clicked(); - void on_applyButton_clicked(); void on_runStopButton_clicked(); void on_fanButton_clicked(); diff --git a/app/gui/oven_control/manualcookwindow.ui b/app/gui/oven_control/manualcookwindow.ui index 105ccf1..4c2cc43 100644 --- a/app/gui/oven_control/manualcookwindow.ui +++ b/app/gui/oven_control/manualcookwindow.ui @@ -14,10 +14,8 @@ <string>MainWindow</string> </property> <property name="styleSheet"> - <string notr="true">#centralwidget { background-image: url(:/images/background/manual_cook.png); } -#bottomBar { background-image: url(:/images/bottom_bar/background.png); } -#outerStack { background-image: url(:/images/background/manual.png); } -#innerStack { background-image: url(:/images/background/manual_core.png); } + <string notr="true">#bottomBar { background-image: url(:/images/bottom_bar/background.png); } +#centralwidget { background-image: url(:/images/background/manual.png); } QPushButton[style="mode"] { background-repeat: no-repeat; @@ -46,18 +44,6 @@ background-position: center; border: none; } -QPushButton[style="interTemp"] { -background-repeat: no-repeat; -background-position: center; -background-clip: border; -background-origin: border; - -border-top: 130px; -border-style: hidden; -color: white; -font-size: 30px; -} - QSlider::groove { background-image: url(:/images/slider/groove_ticks.png); background-repeat: no-repeat; @@ -315,2024 +301,944 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/help_ov.png); }</str </property> </widget> </widget> - <widget class="QStackedWidget" name="bodyStack"> + <widget class="QLabel" name="steamLabel_3"> + <property name="enabled"> + <bool>true</bool> + </property> <property name="geometry"> <rect> - <x>0</x> - <y>0</y> - <width>900</width> - <height>1600</height> + <x>780</x> + <y>740</y> + <width>91</width> + <height>51</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>9</pointsize> + </font> + </property> + <property name="text"> + <string>증가</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QSlider" name="humiditySlider"> + <property name="geometry"> + <rect> + <x>185</x> + <y>783</y> + <width>666</width> + <height>33</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/humidity.png); }</string> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="tracking"> + <bool>false</bool> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + <widget class="QLabel" name="steamLabel_2"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>160</x> + <y>740</y> + <width>91</width> + <height>51</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>9</pointsize> + </font> + </property> + <property name="text"> + <string>감소</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QLabel" name="timeLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>539</x> + <y>1110</y> + <width>301</width> + <height>51</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Roboto</family> + <pointsize>16</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>0<span style="font-size:11pt;">초</span></string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QPushButton" name="tempButton"> + <property name="geometry"> + <rect> + <x>27</x> + <y>875</y> + <width>140</width> + <height>140</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton { image: url(:/images/slider_icon/temp.png); } +QPushButton:pressed { image: url(:/images/slider_icon/temp_ov.png); }</string> + </property> + <property name="style" stdset="0"> + <string notr="true">icon</string> + </property> + </widget> + <widget class="QLabel" name="tempLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>690</x> + <y>960</y> + <width>150</width> + <height>51</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Roboto</family> + <pointsize>16</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>30<span style="font-size:11pt;">℃</span></string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QSlider" name="interTempSlider"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>185</x> + <y>1233</y> + <width>666</width> + <height>33</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/core.png); } +QSlider::sub-page:disabled { background: #00000000; } +QSlider::handle:disabled { background: #00000000; }</string> + </property> + <property name="maximum"> + <number>6</number> + </property> + <property name="value"> + <number>0</number> + </property> + <property name="tracking"> + <bool>false</bool> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + <widget class="QSlider" name="tempSlider"> + <property name="geometry"> + <rect> + <x>185</x> + <y>933</y> + <width>666</width> + <height>33</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/temp.png); }</string> + </property> + <property name="maximum"> + <number>6</number> + </property> + <property name="value"> + <number>0</number> + </property> + <property name="tracking"> + <bool>false</bool> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + <widget class="QLabel" name="humidityLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>690</x> + <y>810</y> + <width>150</width> + <height>51</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Roboto</family> + <pointsize>16</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>0%</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QSlider" name="timeSlider"> + <property name="geometry"> + <rect> + <x>185</x> + <y>1083</y> + <width>666</width> + <height>33</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/time.png); }</string> + </property> + <property name="maximum"> + <number>86400</number> + </property> + <property name="singleStep"> + <number>60</number> + </property> + <property name="pageStep"> + <number>3600</number> + </property> + <property name="value"> + <number>0</number> + </property> + <property name="tracking"> + <bool>false</bool> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + <widget class="QStackedWidget" name="buttonStack"> + <property name="geometry"> + <rect> + <x>337</x> + <y>1319</y> + <width>563</width> + <height>131</height> </rect> </property> - <widget class="QWidget" name="outerStack"> - <widget class="QPushButton" name="timeButton"> + <property name="styleSheet"> + <string notr="true">QPushButton { +background-repeat: no-repeat; +background-position: center; +border: none; +}</string> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="frontButtonStack"> + <widget class="QPushButton" name="goBackStackButton"> <property name="geometry"> <rect> - <x>27</x> - <y>1025</y> - <width>140</width> - <height>140</height> + <x>448</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QPushButton { image: url(:/images/slider_icon/time.png); } -QPushButton:pressed { image: url(:/images/slider_icon/time_ov.png); }</string> - </property> - <property name="text"> - <string notr="true"/> - </property> - <property name="style" stdset="0"> - <string notr="true">icon</string> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/next.png); } +QPushButton:pressed { background-image: url(:/images/manual_button/next_ov.png); }</string> </property> </widget> - <widget class="QSlider" name="tempSlider"> + <widget class="QWidget" name="sysLine_7" native="true"> <property name="geometry"> <rect> - <x>185</x> - <y>933</y> - <width>666</width> - <height>33</height> + <x>336</x> + <y>36</y> + <width>2</width> + <height>58</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/temp.png); }</string> - </property> - <property name="maximum"> - <number>6</number> - </property> - <property name="value"> - <number>0</number> - </property> - <property name="tracking"> - <bool>false</bool> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <string notr="true">background-image: url(:/images/line/manual_button.png);</string> </property> </widget> - <widget class="QPushButton" name="runStopButton"> + <widget class="QPushButton" name="humidificationButton"> <property name="geometry"> <rect> - <x>30</x> - <y>1319</y> - <width>277</width> - <height>121</height> + <x>224</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QPushButton { border-image: url(:/images/manual_button/run.png); }</string> - </property> - <property name="text"> - <string/> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/side_nozzle_close.png); }</string> </property> </widget> - <widget class="QSlider" name="interTempSlider"> - <property name="enabled"> - <bool>false</bool> - </property> + <widget class="QWidget" name="sysLine_8" native="true"> <property name="geometry"> <rect> - <x>185</x> - <y>1233</y> - <width>666</width> - <height>33</height> + <x>224</x> + <y>36</y> + <width>2</width> + <height>58</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/core.png); } -QSlider::sub-page:disabled { background: #00000000; } -QSlider::handle:disabled { background: #00000000; }</string> - </property> - <property name="maximum"> - <number>6</number> - </property> - <property name="value"> - <number>0</number> - </property> - <property name="tracking"> - <bool>false</bool> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <string notr="true">background-image: url(:/images/line/manual_button.png);</string> </property> </widget> - <widget class="QSlider" name="humiditySlider"> + <widget class="QPushButton" name="preheatButton"> <property name="geometry"> <rect> - <x>185</x> - <y>783</y> - <width>666</width> - <height>33</height> + <x>0</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/humidity.png); }</string> - </property> - <property name="maximum"> - <number>100</number> - </property> - <property name="tracking"> - <bool>false</bool> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/preheat.png); } +QPushButton:pressed { background-image: url(:/images/manual_button/preheat_ov.png); }</string> </property> </widget> - <widget class="QPushButton" name="humidityButton"> + <widget class="QPushButton" name="repeatButton"> <property name="geometry"> <rect> - <x>27</x> - <y>725</y> - <width>140</width> - <height>140</height> + <x>336</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QPushButton { image: url(:/images/slider_icon/humidity.png); } -QPushButton:pressed { image: url(:/images/slider_icon/humidity_ov.png); }</string> - </property> - <property name="text"> - <string notr="true"/> - </property> - <property name="style" stdset="0"> - <string notr="true">icon</string> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/repeat.png); } +QPushButton:pressed { background-image: url(:/images/manual_button/repeat_ov.png); }</string> </property> </widget> - <widget class="QPushButton" name="interTempButton"> + <widget class="QWidget" name="sysLine_9" native="true"> <property name="geometry"> <rect> - <x>27</x> - <y>1175</y> - <width>140</width> - <height>140</height> + <x>112</x> + <y>36</y> + <width>2</width> + <height>58</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QPushButton { image: url(:/images/slider_icon/core_temp.png); } -QPushButton:pressed { image: url(:/images/slider_icon/core_temp_ov.png); }</string> - </property> - <property name="text"> - <string notr="true"/> - </property> - <property name="style" stdset="0"> - <string notr="true">icon</string> + <string notr="true">background-image: url(:/images/line/manual_button.png);</string> </property> </widget> - <widget class="QSlider" name="timeSlider"> + <widget class="QPushButton" name="damperButton"> <property name="geometry"> <rect> - <x>185</x> - <y>1083</y> - <width>666</width> - <height>33</height> + <x>112</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/time.png); }</string> - </property> - <property name="maximum"> - <number>86400</number> - </property> - <property name="singleStep"> - <number>60</number> - </property> - <property name="pageStep"> - <number>3600</number> - </property> - <property name="value"> - <number>0</number> - </property> - <property name="tracking"> - <bool>false</bool> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/damper_close.png); }</string> </property> </widget> - <widget class="QPushButton" name="tempButton"> + </widget> + <widget class="QWidget" name="backButtonStack"> + <widget class="QPushButton" name="goFrontStackButton"> <property name="geometry"> <rect> - <x>27</x> - <y>875</y> - <width>140</width> - <height>140</height> + <x>448</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QPushButton { image: url(:/images/slider_icon/temp.png); } -QPushButton:pressed { image: url(:/images/slider_icon/temp_ov.png); }</string> - </property> - <property name="text"> - <string notr="true"/> - </property> - <property name="style" stdset="0"> - <string notr="true">icon</string> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/next.png); } +QPushButton:pressed { background-image: url(:/images/manual_button/next_ov.png); }</string> </property> </widget> - <widget class="QStackedWidget" name="buttonStack"> + <widget class="QWidget" name="sysLine_10" native="true"> <property name="geometry"> <rect> - <x>337</x> - <y>1319</y> - <width>563</width> - <height>131</height> + <x>112</x> + <y>36</y> + <width>2</width> + <height>58</height> </rect> </property> <property name="styleSheet"> - <string notr="true">QPushButton { -background-repeat: no-repeat; -background-position: center; -border: none; -}</string> - </property> - <property name="currentIndex"> - <number>0</number> + <string notr="true">background-image: url(:/images/line/manual_button.png);</string> </property> - <widget class="QWidget" name="frontButtonStack"> - <widget class="QPushButton" name="goBackStackButton"> - <property name="geometry"> - <rect> - <x>448</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/next.png); } -QPushButton:pressed { background-image: url(:/images/manual_button/next_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - <widget class="QWidget" name="sysLine_3" native="true"> - <property name="geometry"> - <rect> - <x>336</x> - <y>36</y> - <width>2</width> - <height>58</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">background-image: url(:/images/line/manual_button.png);</string> - </property> - </widget> - <widget class="QPushButton" name="humidificationButton"> - <property name="geometry"> - <rect> - <x>224</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/side_nozzle_close.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - <widget class="QWidget" name="sysLine_2" native="true"> - <property name="geometry"> - <rect> - <x>224</x> - <y>36</y> - <width>2</width> - <height>58</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">background-image: url(:/images/line/manual_button.png);</string> - </property> - </widget> - <widget class="QPushButton" name="preheatButton"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/preheat.png); } -QPushButton:pressed { background-image: url(:/images/manual_button/preheat_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - <widget class="QPushButton" name="repeatButton"> - <property name="geometry"> - <rect> - <x>336</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/repeat.png); } -QPushButton:pressed { background-image: url(:/images/manual_button/repeat_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - <widget class="QWidget" name="sysLine_1" native="true"> - <property name="geometry"> - <rect> - <x>112</x> - <y>36</y> - <width>2</width> - <height>58</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">background-image: url(:/images/line/manual_button.png);</string> - </property> - </widget> - <widget class="QPushButton" name="damperButton"> - <property name="geometry"> - <rect> - <x>112</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/damper_close.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - </widget> - <widget class="QWidget" name="backButtonStack"> - <widget class="QPushButton" name="goFrontStackButton"> - <property name="geometry"> - <rect> - <x>448</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/next.png); } -QPushButton:pressed { background-image: url(:/images/manual_button/next_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - <widget class="QWidget" name="sysLine_4" native="true"> - <property name="geometry"> - <rect> - <x>112</x> - <y>36</y> - <width>2</width> - <height>58</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">background-image: url(:/images/line/manual_button.png);</string> - </property> - </widget> - <widget class="QPushButton" name="reserveButton"> - <property name="geometry"> - <rect> - <x>224</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/reserve.png); } -QPushButton:pressed { background-image: url(:/images/manual_button/reserve_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - <widget class="QWidget" name="sysLine_5" native="true"> - <property name="geometry"> - <rect> - <x>224</x> - <y>36</y> - <width>2</width> - <height>58</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">background-image: url(:/images/line/manual_button.png);</string> - </property> - </widget> - <widget class="QPushButton" name="cooldownButton"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/cooldown.png); } -QPushButton:pressed { background-image: url(:/images/manual_button/cooldown_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> - <widget class="QPushButton" name="favoritesButton"> - <property name="geometry"> - <rect> - <x>336</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/favorites.png); } -QPushButton:pressed { background-image: url(:/images/manual_button/favorites_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - <widget class="QWidget" name="sysLine_6" native="true"> - <property name="geometry"> - <rect> - <x>336</x> - <y>36</y> - <width>2</width> - <height>58</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">background-image: url(:/images/line/manual_button.png);</string> - </property> - </widget> - <widget class="QPushButton" name="fanButton"> - <property name="geometry"> - <rect> - <x>112</x> - <y>0</y> - <width>112</width> - <height>131</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/fan_4.png); }</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - </widget> </widget> - <widget class="QLabel" name="steamLabel_2"> - <property name="enabled"> - <bool>true</bool> - </property> + <widget class="QPushButton" name="reserveButton"> <property name="geometry"> <rect> - <x>160</x> - <y>740</y> - <width>91</width> - <height>51</height> + <x>224</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>9</pointsize> - </font> - </property> - <property name="text"> - <string>감소</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> + <property name="styleSheet"> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/reserve.png); } +QPushButton:pressed { background-image: url(:/images/manual_button/reserve_ov.png); }</string> </property> </widget> - <widget class="QLabel" name="steamLabel_3"> - <property name="enabled"> - <bool>true</bool> - </property> + <widget class="QWidget" name="sysLine_11" native="true"> <property name="geometry"> <rect> - <x>780</x> - <y>740</y> - <width>91</width> - <height>51</height> + <x>224</x> + <y>36</y> + <width>2</width> + <height>58</height> </rect> </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>9</pointsize> - </font> - </property> - <property name="text"> - <string>증가</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> + <property name="styleSheet"> + <string notr="true">background-image: url(:/images/line/manual_button.png);</string> </property> </widget> - <widget class="QLabel" name="steamLabel_4"> - <property name="enabled"> - <bool>true</bool> - </property> + <widget class="QPushButton" name="cooldownButton"> <property name="geometry"> <rect> - <x>160</x> - <y>890</y> - <width>91</width> - <height>51</height> + <x>0</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>9</pointsize> - </font> - </property> - <property name="text"> - <string>감소</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> + <property name="styleSheet"> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/cooldown.png); } +QPushButton:pressed { background-image: url(:/images/manual_button/cooldown_ov.png); }</string> </property> - </widget> - <widget class="QLabel" name="steamLabel_5"> - <property name="enabled"> + <property name="checkable"> <bool>true</bool> </property> - <property name="geometry"> - <rect> - <x>780</x> - <y>890</y> - <width>91</width> - <height>51</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>9</pointsize> - </font> - </property> - <property name="text"> - <string>증가</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> </widget> - <widget class="QLabel" name="humidityLabel"> - <property name="enabled"> - <bool>true</bool> - </property> + <widget class="QPushButton" name="favoritesButton"> <property name="geometry"> <rect> - <x>690</x> - <y>810</y> - <width>150</width> - <height>51</height> + <x>336</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>16</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>0%</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + <property name="styleSheet"> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/favorites.png); } +QPushButton:pressed { background-image: url(:/images/manual_button/favorites_ov.png); }</string> </property> </widget> - <widget class="QLabel" name="tempLabel"> - <property name="enabled"> - <bool>true</bool> - </property> + <widget class="QWidget" name="sysLine_12" native="true"> <property name="geometry"> <rect> - <x>690</x> - <y>960</y> - <width>150</width> - <height>51</height> + <x>336</x> + <y>36</y> + <width>2</width> + <height>58</height> </rect> </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>16</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>30<span style="font-size:11pt;">℃</span></string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + <property name="styleSheet"> + <string notr="true">background-image: url(:/images/line/manual_button.png);</string> </property> </widget> - <widget class="QLabel" name="timeLabel"> - <property name="enabled"> - <bool>true</bool> - </property> + <widget class="QPushButton" name="fanButton"> <property name="geometry"> <rect> - <x>539</x> - <y>1110</y> - <width>301</width> - <height>51</height> + <x>112</x> + <y>0</y> + <width>112</width> + <height>131</height> </rect> </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>16</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>0<span style="font-size:11pt;">초</span></string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + <property name="styleSheet"> + <string notr="true">QPushButton { background-image: url(:/images/manual_button/fan_4.png); }</string> </property> </widget> - <widget class="QLabel" name="interTempLabel"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>690</x> - <y>1260</y> - <width>150</width> - <height>50</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>16</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string><span style="font-size:11pt;">℃</span></string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - <zorder>tempSlider</zorder> - <zorder>runStopButton</zorder> - <zorder>interTempSlider</zorder> - <zorder>humiditySlider</zorder> - <zorder>humidityButton</zorder> - <zorder>interTempButton</zorder> - <zorder>timeSlider</zorder> - <zorder>tempButton</zorder> - <zorder>buttonStack</zorder> - <zorder>timeButton</zorder> - <zorder>steamLabel_2</zorder> - <zorder>steamLabel_3</zorder> - <zorder>steamLabel_4</zorder> - <zorder>steamLabel_5</zorder> - <zorder>humidityLabel</zorder> - <zorder>tempLabel</zorder> - <zorder>timeLabel</zorder> - <zorder>interTempLabel</zorder> </widget> - <widget class="QWidget" name="innerStack"> - <widget class="QSlider" name="innerInterTempSlider"> - <property name="geometry"> - <rect> - <x>185</x> - <y>1012</y> - <width>666</width> - <height>33</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QSlider::sub-page { background-image: url(:/images/slider/core.png); }</string> - </property> - <property name="maximum"> - <number>6</number> - </property> - <property name="value"> - <number>0</number> - </property> - <property name="tracking"> - <bool>true</bool> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - <widget class="QPushButton" name="innerInterTempButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="geometry"> - <rect> - <x>27</x> - <y>954</y> - <width>140</width> - <height>140</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { image: url(:/images/slider_icon/core_temp_enabled.png); } + </widget> + <widget class="QLabel" name="steamLabel_4"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>160</x> + <y>890</y> + <width>91</width> + <height>51</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>9</pointsize> + </font> + </property> + <property name="text"> + <string>감소</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QPushButton" name="humidityButton"> + <property name="geometry"> + <rect> + <x>27</x> + <y>725</y> + <width>140</width> + <height>140</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton { image: url(:/images/slider_icon/humidity.png); } +QPushButton:pressed { image: url(:/images/slider_icon/humidity_ov.png); }</string> + </property> + <property name="style" stdset="0"> + <string notr="true">icon</string> + </property> + </widget> + <widget class="QPushButton" name="interTempButton"> + <property name="geometry"> + <rect> + <x>27</x> + <y>1175</y> + <width>140</width> + <height>140</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton { image: url(:/images/slider_icon/core_temp.png); } QPushButton:pressed { image: url(:/images/slider_icon/core_temp_ov.png); }</string> - </property> - <property name="text"> - <string/> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="style" stdset="0"> - <string>icon</string> - </property> - </widget> - <widget class="QPushButton" name="goOuterButton"> - <property name="geometry"> - <rect> - <x>200</x> - <y>1260</y> - <width>250</width> - <height>190</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/back.png); } -QPushButton:pressed { background-image: url(:/images/manual_button/back_ov.png); }</string> - </property> - <property name="text"> - <string>이전으로</string> - </property> - <property name="style" stdset="0"> - <string notr="true">interTemp</string> - </property> - </widget> - <widget class="QPushButton" name="applyButton"> - <property name="geometry"> - <rect> - <x>450</x> - <y>1260</y> - <width>250</width> - <height>190</height> - </rect> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { background-image: url(:/images/manual_button/ok.png); } -QPushButton:pressed { background-image: url(:/images/manual_button/ok_ov.png); }</string> - </property> - <property name="text"> - <string>확인/적용하기</string> - </property> - <property name="style" stdset="0"> - <string notr="true">interTemp</string> - </property> - </widget> - <widget class="QLabel" name="label"> - <property name="geometry"> - <rect> - <x>18</x> - <y>920</y> - <width>863</width> - <height>1</height> - </rect> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="resources.qrc">:/images/line/manual_core_temp_horizontal.png</pixmap> - </property> - </widget> - <widget class="QLabel" name="label_2"> - <property name="geometry"> - <rect> - <x>225</x> - <y>759</y> - <width>1</width> - <height>121</height> - </rect> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="resources.qrc">:/images/line/manual_core_temp_vertical.png</pixmap> - </property> - </widget> - <widget class="QLabel" name="label_3"> - <property name="geometry"> - <rect> - <x>450</x> - <y>759</y> - <width>1</width> - <height>121</height> - </rect> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="resources.qrc">:/images/line/manual_core_temp_vertical.png</pixmap> - </property> - </widget> - <widget class="QLabel" name="label_4"> - <property name="geometry"> - <rect> - <x>675</x> - <y>759</y> - <width>1</width> - <height>121</height> - </rect> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="resources.qrc">:/images/line/manual_core_temp_vertical.png</pixmap> - </property> - </widget> - <widget class="QLabel" name="innerInterTempLabel"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>690</x> - <y>1038</y> - <width>150</width> - <height>50</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>16</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>℃</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - <widget class="QLabel" name="steamLabel_6"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>0</x> - <y>720</y> - <width>225</width> - <height>50</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>11</pointsize> - </font> - </property> - <property name="text"> - <string>내부 습도</string> - </property> - <property name="alignment"> - <set>Qt::AlignBottom|Qt::AlignHCenter</set> - </property> - </widget> - <widget class="QLabel" name="steamLabel_7"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>225</x> - <y>720</y> - <width>225</width> - <height>50</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>11</pointsize> - </font> - </property> - <property name="text"> - <string>목표 습도</string> - </property> - <property name="alignment"> - <set>Qt::AlignBottom|Qt::AlignHCenter</set> - </property> - </widget> - <widget class="QLabel" name="steamLabel_8"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>450</x> - <y>720</y> - <width>225</width> - <height>50</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>11</pointsize> - </font> - </property> - <property name="text"> - <string>내부 온도</string> - </property> - <property name="alignment"> - <set>Qt::AlignBottom|Qt::AlignHCenter</set> - </property> - </widget> - <widget class="QLabel" name="steamLabel_9"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>675</x> - <y>720</y> - <width>225</width> - <height>50</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>11</pointsize> - </font> - </property> - <property name="text"> - <string>중심 온도계 온도</string> - </property> - <property name="alignment"> - <set>Qt::AlignBottom|Qt::AlignHCenter</set> - </property> - </widget> - <widget class="QLabel" name="steamLabel_10"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>175</x> - <y>770</y> - <width>50</width> - <height>100</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>11</pointsize> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>%</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QLabel" name="steamLabel_11"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>400</x> - <y>770</y> - <width>50</width> - <height>100</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>11</pointsize> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>%</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QLabel" name="steamLabel_12"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>625</x> - <y>770</y> - <width>50</width> - <height>100</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>11</pointsize> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>℃</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QLabel" name="steamLabel_13"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>850</x> - <y>770</y> - <width>50</width> - <height>100</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Roboto</family> - <pointsize>11</pointsize> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>℃</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QLabel" name="curHumidityLabel"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>0</x> - <y>770</y> - <width>225</width> - <height>100</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>16</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>0</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QLabel" name="targetHumidityLabel"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>225</x> - <y>770</y> - <width>225</width> - <height>100</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>16</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>0</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QLabel" name="curTempLabel"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>450</x> - <y>770</y> - <width>225</width> - <height>100</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>16</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>0</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QLabel" name="curInterTempLabel"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>675</x> - <y>770</y> - <width>225</width> - <height>100</height> - </rect> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>255</red> - <green>255</green> - <blue>255</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="WindowText"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>123</red> - <green>123</green> - <blue>123</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="font"> - <font> - <family>Malgun Gothic</family> - <pointsize>16</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>0</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <zorder>curHumidityLabel</zorder> - <zorder>targetHumidityLabel</zorder> - <zorder>curTempLabel</zorder> - <zorder>curInterTempLabel</zorder> - <zorder>innerInterTempSlider</zorder> - <zorder>innerInterTempButton</zorder> - <zorder>goOuterButton</zorder> - <zorder>applyButton</zorder> - <zorder>label</zorder> - <zorder>label_2</zorder> - <zorder>label_3</zorder> - <zorder>label_4</zorder> - <zorder>innerInterTempLabel</zorder> - <zorder>steamLabel_6</zorder> - <zorder>steamLabel_7</zorder> - <zorder>steamLabel_8</zorder> - <zorder>steamLabel_9</zorder> - <zorder>steamLabel_10</zorder> - <zorder>steamLabel_11</zorder> - <zorder>steamLabel_12</zorder> - <zorder>steamLabel_13</zorder> - </widget> + </property> + <property name="style" stdset="0"> + <string notr="true">icon</string> + </property> + </widget> + <widget class="QPushButton" name="timeButton"> + <property name="geometry"> + <rect> + <x>27</x> + <y>1025</y> + <width>140</width> + <height>140</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton { image: url(:/images/slider_icon/time.png); } +QPushButton:pressed { image: url(:/images/slider_icon/time_ov.png); }</string> + </property> + <property name="style" stdset="0"> + <string notr="true">icon</string> + </property> + </widget> + <widget class="QLabel" name="interTempLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>690</x> + <y>1260</y> + <width>150</width> + <height>50</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Roboto</family> + <pointsize>16</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string><span style="font-size:11pt;">℃</span></string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="steamLabel_5"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="geometry"> + <rect> + <x>780</x> + <y>890</y> + <width>91</width> + <height>51</height> + </rect> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>255</red> + <green>255</green> + <blue>255</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>123</red> + <green>123</green> + <blue>123</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Malgun Gothic</family> + <pointsize>9</pointsize> + </font> + </property> + <property name="text"> + <string>증가</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + <widget class="QPushButton" name="runStopButton"> + <property name="geometry"> + <rect> + <x>30</x> + <y>1319</y> + <width>277</width> + <height>121</height> + </rect> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton { border-image: url(:/images/manual_button/run.png); }</string> + </property> + <property name="text"> + <string/> + </property> </widget> - <zorder>bodyStack</zorder> - <zorder>upperStack</zorder> - <zorder>combiButton</zorder> - <zorder>steamButton</zorder> - <zorder>dryheatButton</zorder> - <zorder>bottomBar</zorder> </widget> </widget> <customwidgets> diff --git a/app/gui/oven_control/oven_control.pro b/app/gui/oven_control/oven_control.pro index db6020c..30087d8 100644 --- a/app/gui/oven_control/oven_control.pro +++ b/app/gui/oven_control/oven_control.pro @@ -102,7 +102,8 @@ SOURCES += main.cpp\ servicepassinputdlg.cpp \ backlight.cpp \ dirtylevel.cpp \ - washwarnicon.cpp + washwarnicon.cpp \ + coretempsettingpopup.cpp HEADERS += mainwindow.h \ cook.h \ @@ -194,7 +195,8 @@ HEADERS += mainwindow.h \ servicepassinputdlg.h \ backlight.h \ dirtylevel.h \ - washwarnicon.h + washwarnicon.h \ + coretempsettingpopup.h FORMS += mainwindow.ui \ manualcookwindow.ui \ @@ -256,7 +258,8 @@ FORMS += mainwindow.ui \ modelsettingwindow.ui \ gasmodelsettingwindow.ui \ electricmodelsettingwindow.ui \ - servicepassinputdlg.ui + servicepassinputdlg.ui \ + coretempsettingpopup.ui RESOURCES += \ resources.qrc