diff --git a/app/gui/oven_control/washwindow.cpp b/app/gui/oven_control/washwindow.cpp new file mode 100644 index 0000000..08fb049 --- /dev/null +++ b/app/gui/oven_control/washwindow.cpp @@ -0,0 +1,18 @@ +#include "washwindow.h" +#include "ui_washwindow.h" + +WashWindow::WashWindow(QWidget *parent) : + QMainWindow(parent), + ui(new Ui::WashWindow) +{ + ui->setupUi(this); + + ui->clockContainer->setParent(ui->upperStack); + ui->progressContainer->setParent(ui->upperStack); + setAttribute(Qt::WA_DeleteOnClose); +} + +WashWindow::~WashWindow() +{ + delete ui; +} diff --git a/app/gui/oven_control/washwindow.h b/app/gui/oven_control/washwindow.h new file mode 100644 index 0000000..d6b4cce --- /dev/null +++ b/app/gui/oven_control/washwindow.h @@ -0,0 +1,22 @@ +#ifndef WASHWINDOW_H +#define WASHWINDOW_H + +#include + +namespace Ui { +class WashWindow; +} + +class WashWindow : public QMainWindow +{ + Q_OBJECT + +public: + explicit WashWindow(QWidget *parent = 0); + ~WashWindow(); + +private: + Ui::WashWindow *ui; +}; + +#endif // WASHWINDOW_H diff --git a/app/gui/oven_control/washwindow.ui b/app/gui/oven_control/washwindow.ui new file mode 100644 index 0000000..8c5d3d8 --- /dev/null +++ b/app/gui/oven_control/washwindow.ui @@ -0,0 +1,896 @@ + + + WashWindow + + + + 0 + 0 + 900 + 1600 + + + + MainWindow + + + #centralwidget { +background-image: url(:/images/images/auto/ba_ground_a01.png); +} + +QSlider::groove { +background-image: url(:/images/images/auto/gau_04.png); +background-repeat: no-repeat; +background-position: center; +} + +QSlider::sub-page { +background-repeat: no-repeat; +background-position: left center; +margin: 0px 5px; +} + +QSlider[sliderColor="red"]::sub-page { +background-image: url(:/images/images/auto/gau_05.png); +} + +QSlider[sliderColor="yellow"]::sub-page { +background-image: url(:/images/images/auto/gau_06.png); +} + +QSlider[sliderColor="white"]::sub-page { +background-image: url(:/images/images/auto/gau_07.png); +} + +QSlider[sliderColor="blue"]::sub-page { +background-image: url(:/images/images/auto/gau_09.png); +} + +QSlider[sliderColor="green"]::sub-page { +background-image: url(:/images/images/auto/sys_icon_01_gau.png); +} + +QSlider::handle { +background-image: url(:/images/images/manual/graphe_BTN_Bigsize.png); +background-repeat: no-repeat; +background-position: center; +width: 23px; +height: 33px; +} + +QPushButton[style="type"] { +background-repeat: no-repeat; +background-position: center; +background-clip: border; +background-origin: border; +margin-bottom: 50px; + +border-top: 140px; +border-bottom: -50px; +border-style: hidden; +color: white; +font-size: 25px; +} + + + + + + 0 + 0 + 900 + 426 + + + + + QWidget#clockContainer { +background-image: url(:/images/images/config/001_01_background_time.png); +} + + + + + 272 + 36 + 356 + 355 + + + + + + + + + + 0 + 1197 + 900 + 33 + + + + + + + :/images/images/auto/ba_ground_a02.png + + + + + + 0 + 1450 + 900 + 150 + + + + QWidget#bottomBar { +background-image: url(:/images/images/config_service/001_01_background_under_down.png); +} + + + + + 288 + 26 + 97 + 97 + + + + + 0 + 0 + + + + QPushButton { border-image: url(:/images/images/auto/006_sys_icon_03.png); } +QPushButton:pressed { border-image: url(:/images/images/auto/006_sys_icon_03_ov.png); } + + + + + + + + + 401 + 26 + 97 + 97 + + + + + 0 + 0 + + + + QPushButton { border-image: url(:/images/images/auto/006_sys_icon_01.png); } +QPushButton:pressed { border-image: url(:/images/images/auto/006_sys_icon_01_ov.png); } + + + + + + + + + 514 + 26 + 97 + 97 + + + + + 0 + 0 + + + + QPushButton { border-image: url(:/images/images/auto/006_sys_icon_02.png); } +QPushButton:pressed { border-image: url(:/images/images/auto/006_sys_icon_02_ov.png); } + + + + + + + + + + 0 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_01.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_01_ov.png); +} + + + 세제 없이 헹굼 + + + type + + + + + + 180 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_02.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_02_ov.png); +} + + + 간이 세척 + + + type + + + + + + 360 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_03.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_03_ov.png); +} + + + 표준 세척 + + + type + + + + + + 540 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_04.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_04_ov.png); +} + + + 강 세척 + + + type + + + + + + 720 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_05.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_05_ov.png); +} + + + 고속 세척 + + + type + + + + + true + + + + 700 + 927 + 151 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Malgun Gothic + 9 + + + + 나쁨 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 49 + 934 + 96 + 96 + + + + QPushButton { + border-image: url(:/images/images/manual/011_icon_01.png); +} + +QPushButton:pressed { + border-image: url(:/images/images/manual/011_icon_01_ov.png); +} + + + + + + + + + true + + + + 185 + 997 + 641 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Roboto + 13 + 75 + true + + + + 유지/관리 + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + true + + + + 185 + 927 + 151 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Malgun Gothic + 9 + + + + 좋음 + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + 27 + 912 + 140 + 140 + + + + background-image: url(:/images/images/manual/010_icon_block.png); + + + + + + 185 + 970 + 666 + 33 + + + + 100 + + + 1 + + + 0 + + + true + + + Qt::Horizontal + + + blue + + + + + true + + + + 700 + 1077 + 151 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Malgun Gothic + 9 + + + + 더러움 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 49 + 1084 + 96 + 96 + + + + QPushButton { + border-image: url(:/images/images/manual/011_icon_01.png); +} + +QPushButton:pressed { + border-image: url(:/images/images/manual/011_icon_01_ov.png); +} + + + + + + + + + true + + + + 185 + 1147 + 641 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Roboto + 13 + 75 + true + + + + 청결상태 + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + true + + + + 185 + 1077 + 151 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Malgun Gothic + 9 + + + + 깨끗함 + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + 27 + 1062 + 140 + 140 + + + + background-image: url(:/images/images/manual/010_icon_block.png); + + + + + + 185 + 1120 + 666 + 33 + + + + 100 + + + 1 + + + 0 + + + true + + + Qt::Horizontal + + + blue + + + + + + 340 + 460 + 255 + 427 + + + + + + + configBlock_5 + configBlock_4 + upperStack + label + bottomBar + pushButton + pushButton_2 + pushButton_3 + pushButton_4 + pushButton_5 + configMaxLabel_4 + configButton_4 + configCurrentLabel_4 + configMinLabel_4 + configSlider_4 + configMaxLabel_5 + configButton_5 + configCurrentLabel_5 + configMinLabel_5 + configSlider_5 + animation + + + + + Clock + QWidget +
clock.h
+ 1 +
+ + AnimatedImageBox + QLabel +
animatedimagebox.h
+
+
+ + + + +
diff --git a/app/gui/oven_control/washwindow.ui.autosave b/app/gui/oven_control/washwindow.ui.autosave new file mode 100644 index 0000000..7b07b52 --- /dev/null +++ b/app/gui/oven_control/washwindow.ui.autosave @@ -0,0 +1,902 @@ + + + WashWindow + + + + 0 + 0 + 900 + 1600 + + + + MainWindow + + + #centralwidget { +background-image: url(:/images/images/auto/ba_ground_a01.png); +} + +QSlider::groove { +background-image: url(:/images/images/auto/gau_04.png); +background-repeat: no-repeat; +background-position: center; +} + +QSlider::sub-page { +background-repeat: no-repeat; +background-position: left center; +margin: 0px 5px; +} + +QSlider[sliderColor="red"]::sub-page { +background-image: url(:/images/images/auto/gau_05.png); +} + +QSlider[sliderColor="yellow"]::sub-page { +background-image: url(:/images/images/auto/gau_06.png); +} + +QSlider[sliderColor="white"]::sub-page { +background-image: url(:/images/images/auto/gau_07.png); +} + +QSlider[sliderColor="blue"]::sub-page { +background-image: url(:/images/images/auto/gau_09.png); +} + +QSlider[sliderColor="green"]::sub-page { +background-image: url(:/images/images/auto/sys_icon_01_gau.png); +} + +QSlider::handle { +background-image: url(:/images/images/manual/graphe_BTN_Bigsize.png); +background-repeat: no-repeat; +background-position: center; +width: 23px; +height: 33px; +} + +QPushButton[style="type"] { +background-repeat: no-repeat; +background-position: center; +background-clip: border; +background-origin: border; +margin-bottom: 50px; + +border-top: 140px; +border-bottom: -50px; +border-style: hidden; +color: white; +font-size: 25px; +} + + + + + + 0 + 0 + 900 + 426 + + + + + QWidget#clockContainer { +background-image: url(:/images/images/config/001_01_background_time.png); +} + + + + + 272 + 36 + 356 + 355 + + + + + + + QWidget#progressContainer { +background-image: url(:/images/images/config/001_01_background_time.png); +} + + + + + + + 0 + 1197 + 900 + 33 + + + + + + + :/images/images/auto/ba_ground_a02.png + + + + + + 0 + 1450 + 900 + 150 + + + + QWidget#bottomBar { +background-image: url(:/images/images/config_service/001_01_background_under_down.png); +} + + + + + 288 + 26 + 97 + 97 + + + + + 0 + 0 + + + + QPushButton { border-image: url(:/images/images/auto/006_sys_icon_03.png); } +QPushButton:pressed { border-image: url(:/images/images/auto/006_sys_icon_03_ov.png); } + + + + + + + + + 401 + 26 + 97 + 97 + + + + + 0 + 0 + + + + QPushButton { border-image: url(:/images/images/auto/006_sys_icon_01.png); } +QPushButton:pressed { border-image: url(:/images/images/auto/006_sys_icon_01_ov.png); } + + + + + + + + + 514 + 26 + 97 + 97 + + + + + 0 + 0 + + + + QPushButton { border-image: url(:/images/images/auto/006_sys_icon_02.png); } +QPushButton:pressed { border-image: url(:/images/images/auto/006_sys_icon_02_ov.png); } + + + + + + + + + + 0 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_01.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_01_ov.png); +} + + + 세제 없이 헹굼 + + + type + + + + + + 180 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_02.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_02_ov.png); +} + + + 간이 세척 + + + type + + + + + + 360 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_03.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_03_ov.png); +} + + + 표준 세척 + + + type + + + + + + 540 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_04.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_04_ov.png); +} + + + 강 세척 + + + type + + + + + + 720 + 1230 + 180 + 220 + + + + QPushButton +{ +background-image: url(:/images/images/auto/option_btn_wash_05.png); +} + +QPushButton::pressed +{ +background-image: url(:/images/images/auto/option_btn_wash_05_ov.png); +} + + + 고속 세척 + + + type + + + + + true + + + + 700 + 927 + 151 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Malgun Gothic + 9 + + + + 나쁨 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 49 + 934 + 96 + 96 + + + + QPushButton { + border-image: url(:/images/images/manual/011_icon_01.png); +} + +QPushButton:pressed { + border-image: url(:/images/images/manual/011_icon_01_ov.png); +} + + + + + + + + + true + + + + 185 + 997 + 641 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Roboto + 13 + 75 + true + + + + 유지/관리 + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + true + + + + 185 + 927 + 151 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Malgun Gothic + 9 + + + + 좋음 + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + 27 + 912 + 140 + 140 + + + + background-image: url(:/images/images/manual/010_icon_block.png); + + + + + + 185 + 970 + 666 + 33 + + + + 100 + + + 1 + + + 0 + + + true + + + Qt::Horizontal + + + blue + + + + + true + + + + 700 + 1077 + 151 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Malgun Gothic + 9 + + + + 더러움 + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 49 + 1084 + 96 + 96 + + + + QPushButton { + border-image: url(:/images/images/manual/011_icon_01.png); +} + +QPushButton:pressed { + border-image: url(:/images/images/manual/011_icon_01_ov.png); +} + + + + + + + + + true + + + + 185 + 1147 + 641 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Roboto + 13 + 75 + true + + + + 청결상태 + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + true + + + + 185 + 1077 + 151 + 51 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 255 + 255 + 255 + + + + + + + + + 123 + 123 + 123 + + + + + + + + + Malgun Gothic + 9 + + + + 깨끗함 + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + 27 + 1062 + 140 + 140 + + + + background-image: url(:/images/images/manual/010_icon_block.png); + + + + + + 185 + 1120 + 666 + 33 + + + + 100 + + + 1 + + + 0 + + + true + + + Qt::Horizontal + + + blue + + + + + + 340 + 460 + 255 + 427 + + + + + + + configBlock_5 + configBlock_4 + upperStack + label + bottomBar + pushButton + pushButton_2 + pushButton_3 + pushButton_4 + pushButton_5 + configMaxLabel_4 + configButton_4 + configCurrentLabel_4 + configMinLabel_4 + configSlider_4 + configMaxLabel_5 + configButton_5 + configCurrentLabel_5 + configMinLabel_5 + configSlider_5 + animation + + + + + Clock + QWidget +
clock.h
+ 1 +
+ + AnimatedImageBox + QLabel +
animatedimagebox.h
+
+
+ + + + +