Blame view

app/gui/oven_control/autocookselectionwindow.h 681 Bytes
99b8066f4   김태훈   V0.1.1
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
  #ifndef AUTOCOOKSELECTIONWINDOW_H
  #define AUTOCOOKSELECTIONWINDOW_H
  
  #include <QMainWindow>
  
  #include "oven.h"
  #include "cook.h"
  
  namespace Ui {
  class AutoCookSelectionWindow;
  }
  
  class AutoCookSelectionWindow : public QMainWindow
  {
      Q_OBJECT
  
  public:
      explicit AutoCookSelectionWindow(QWidget *parent = 0, Oven *oven = 0, Cook::CookType type = Cook::Poultry);
      ~AutoCookSelectionWindow();
  
  private slots:
      void onCookSelected(int idx);
      void on_pushButton_clicked();
  
      void on_backButton_clicked();
  
  private:
      Ui::AutoCookSelectionWindow *ui;
      Oven *oven;
      Cook::CookType type;
      QList<AbstractCook *> cookList;
  };
  
  #endif // AUTOCOOKSELECTIONWINDOW_H