Commit 7c72270099b232502721325efc8e45d7deb9666d

Authored by 김태훈
1 parent 2e5e214815
Exists in master and in 2 other branches fhd, fhd-demo

세척 공정 단계 게이지 바 추가

app/gui/oven_control/oven_control.pro
... ... @@ -38,7 +38,8 @@ SOURCES += main.cpp\
38 38 heatcirculargauge.cpp \
39 39 preheattempgauge.cpp \
40 40 autocookconfigwindow.cpp \
41   - washwindow.cpp
  41 + washwindow.cpp \
  42 + washstepgauge.cpp
42 43  
43 44 HEADERS += mainwindow.h \
44 45 cook.h \
... ... @@ -65,7 +66,8 @@ HEADERS += mainwindow.h \
65 66 heatcirculargauge.h \
66 67 preheattempgauge.h \
67 68 autocookconfigwindow.h \
68   - washwindow.h
  69 + washwindow.h \
  70 + washstepgauge.h
69 71  
70 72 FORMS += mainwindow.ui \
71 73 manualcookwindow.ui \
... ...
app/gui/oven_control/preheattempgauge.h
... ... @@ -20,7 +20,7 @@ public slots:
20 20 protected:
21 21 void paintEvent(QPaintEvent *event);
22 22  
23   -private:
  23 +protected:
24 24 QPixmap body;
25 25 QPixmap border;
26 26 QPixmap indicator;
... ...
app/gui/oven_control/washstepgauge.cpp
... ... @@ -0,0 +1,6 @@
  1 +#include "washstepgauge.h"
  2 +
  3 +WashStepGauge::WashStepGauge(QWidget *parent) : PreheatTempGauge(parent)
  4 +{
  5 + body.load(":/images/images/auto/graphe_hit_03.png");
  6 +}
... ...
app/gui/oven_control/washstepgauge.h
... ... @@ -0,0 +1,12 @@
  1 +#ifndef WASHSTEPGAUGE_H
  2 +#define WASHSTEPGAUGE_H
  3 +
  4 +#include "preheattempgauge.h"
  5 +
  6 +class WashStepGauge : public PreheatTempGauge
  7 +{
  8 +public:
  9 + WashStepGauge(QWidget *parent = 0);
  10 +};
  11 +
  12 +#endif // WASHSTEPGAUGE_H
... ...