Blame view

app/gui/oven_control/configsteamwashdlg.h 657 Bytes
71bc74deb   김태훈   스팀 통 세척 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  #ifndef CONFIGSTEAMWASHDLG_H
  #define CONFIGSTEAMWASHDLG_H
  
  #include <QDialog>
  #include <QTimer>
  
  namespace Ui {
  class ConfigSteamWashDlg;
  }
  
  class ConfigSteamWashDlg : public QDialog
  {
      Q_OBJECT
  
      enum Phase {
          Idle, Starting, Started, Finished
      };
  
  public:
      explicit ConfigSteamWashDlg(QWidget *parent = 0);
      ~ConfigSteamWashDlg();
  
  private slots:
      void updateView();
  
      void onChanged();
  
      void start();
      bool isStarted();
      bool isFinished();
  
      void on_ctrBtnOk_clicked();
      void on_ctrBtnCancel_clicked();
  
  private:
      Ui::ConfigSteamWashDlg *ui;
  
      enum Phase phase = Idle;
  };
  
  #endif // CONFIGSTEAMWASHDLG_H