99b8066f4
김태훈
V0.1.1
|
1
2
3
4
|
#ifndef AUTOCOOKSELECTIONWINDOW_H
#define AUTOCOOKSELECTIONWINDOW_H
#include <QMainWindow>
|
6f1aa03f6
김태훈
엔코더 구현
|
5
|
#include <QPushButton>
|
99b8066f4
김태훈
V0.1.1
|
6
7
|
#include "oven.h"
|
6a81d38e4
김태훈
자동 요리 관련 로직 전면 재작성
|
8
|
#include "cookbook.h"
|
99b8066f4
김태훈
V0.1.1
|
9
10
11
12
13
14
15
16
17
18
|
namespace Ui {
class AutoCookSelectionWindow;
}
class AutoCookSelectionWindow : public QMainWindow
{
Q_OBJECT
public:
|
3f52600cc
김태훈
소스 코드 구조 개선
|
19
|
explicit AutoCookSelectionWindow(QWidget *parent, Define::CookType type);
|
99b8066f4
김태훈
V0.1.1
|
20
|
~AutoCookSelectionWindow();
|
6f1aa03f6
김태훈
엔코더 구현
|
21
22
23
|
protected:
void keyPressEvent(QKeyEvent *event);
void keyReleaseEvent(QKeyEvent *event);
|
99b8066f4
김태훈
V0.1.1
|
24
25
|
private slots:
void onCookSelected(int idx);
|
99b8066f4
김태훈
V0.1.1
|
26
27
|
void on_backButton_clicked();
|
e00c6a2a9
김태훈
기능 추가 구현
|
28
29
30
31
32
|
void on_configButton_clicked();
void on_washButton_clicked();
void on_helpButton_clicked();
|
99b8066f4
김태훈
V0.1.1
|
33
34
|
private:
Ui::AutoCookSelectionWindow *ui;
|
6a81d38e4
김태훈
자동 요리 관련 로직 전면 재작성
|
35
36
|
Define::CookType type;
CookBook book;
|
d66d7f5b4
김태훈
GUI 버전 0.1.2
|
37
|
bool autoCookWindowOpened;
|
6f1aa03f6
김태훈
엔코더 구현
|
38
|
|
6f1aa03f6
김태훈
엔코더 구현
|
39
40
41
42
43
|
QWidget *pushed = NULL;
void onEncoderLeft();
void onEncoderRight();
void onEncoderClicked(QWidget *clicked);
|
99b8066f4
김태훈
V0.1.1
|
44
45
46
|
};
#endif
|