Blame view

app/gui/oven_control/manualcookwindow.cpp 14.4 KB
8c2952457   김태훈   응용 프로그램 추가
1
2
3
4
5
6
  #include "manualcookwindow.h"
  #include "ui_manualcookwindow.h"
  
  #include <QSignalMapper>
  #include <QTimer>
  #include <QtDebug>
05f2a7552   김태훈   image 관리 구조 변경
7
  #include "preheatpopup.h"
cfc2fcc35   김태훈   쿨다운 팝업 추가
8
  #include "cooldownpopup.h"
05f2a7552   김태훈   image 관리 구조 변경
9
3f52600cc   김태훈   소스 코드 구조 개선
10
  ManualCookWindow::ManualCookWindow(QWidget *parent) :
8c2952457   김태훈   응용 프로그램 추가
11
      QMainWindow(parent),
3f52600cc   김태훈   소스 코드 구조 개선
12
      ui(new Ui::ManualCookWindow)
8c2952457   김태훈   응용 프로그램 추가
13
14
  {
      ui->setupUi(this);
6f96c947a   김태훈   GUI 0.1.4
15
      ui->clockContainer->setParent(ui->upperStack);
cfc2fcc35   김태훈   쿨다운 팝업 추가
16
      ui->closeDoorWidget->setParent(ui->upperStack);
05f2a7552   김태훈   image 관리 구조 변경
17
18
      ui->outerStack->setParent(ui->bodyStack);
      ui->innerStack->setParent(ui->bodyStack);
6f96c947a   김태훈   GUI 0.1.4
19
      setAttribute(Qt::WA_DeleteOnClose);
3f52600cc   김태훈   소스 코드 구조 개선
20
      oven = Oven::getInstance();
8c2952457   김태훈   응용 프로그램 추가
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
      connect(oven, SIGNAL(changed(Oven*)), this, SLOT(onOvenUpdated(Oven*)));
  
      connect(ui->steamButton, SIGNAL(clicked()), this, SIGNAL(modeButtonClicked()));
      connect(ui->combiButton, SIGNAL(clicked()), this, SIGNAL(modeButtonClicked()));
      connect(ui->dryheatButton, SIGNAL(clicked()), this, SIGNAL(modeButtonClicked()));
  
      QSignalMapper *sm = new QSignalMapper(this);
      sm->setMapping(ui->steamButton, (int) Oven::SteamMode);
      sm->setMapping(ui->combiButton, (int) Oven::CombinationMode);
      sm->setMapping(ui->dryheatButton, (int) Oven::HeatMode);
      connect(ui->steamButton, SIGNAL(clicked()), sm, SLOT(map()));
      connect(ui->combiButton, SIGNAL(clicked()), sm, SLOT(map()));
      connect(ui->dryheatButton, SIGNAL(clicked()), sm, SLOT(map()));
      connect(sm, SIGNAL(mapped(int)), this, SLOT(onModeButtonClicked(int)));
  
      connect(ui->humiditySlider, SIGNAL(valueChanged(int)), oven, SLOT(setHumidity(int)));
      connect(ui->tempSlider, SIGNAL(valueChanged(int)), oven, SLOT(setTemp(int)));
      connect(ui->timeSlider, SIGNAL(valueChanged(int)), oven, SLOT(setTime(int)));
      connect(ui->interTempSlider, SIGNAL(valueChanged(int)), oven, SLOT(setInterTemp(int)));
  
      connect(ui->humiditySlider, SIGNAL(sliderMoved(int)), this, SLOT(updateLabels()));
      connect(ui->tempSlider, SIGNAL(sliderMoved(int)), this, SLOT(updateLabels()));
      connect(ui->timeSlider, SIGNAL(sliderMoved(int)), this, SLOT(updateLabels()));
      connect(ui->interTempSlider, SIGNAL(sliderMoved(int)), this, SLOT(updateLabels()));
      connect(ui->innerInterTempSlider, SIGNAL(sliderMoved(int)), this, SLOT(updateLabels()));
ae1095876   김태훈   중심 온도 설정 창에서 중심 온...
46
      connect(ui->innerInterTempSlider, SIGNAL(valueChanged(int)), this, SLOT(updateLabels()));
8c2952457   김태훈   응용 프로그램 추가
47
48
49
50
51
  
      QTimer *cookingTimerCheckTimer = new QTimer(this);
      cookingTimerCheckTimer->setInterval(100);
      connect(cookingTimerCheckTimer, SIGNAL(timeout()), this, SLOT(checkTime()));
      connect(this, SIGNAL(modeButtonClicked()), cookingTimerCheckTimer, SLOT(stop()));
4fc65fb81   김태훈   GUI V0.1.6(이 버전으로...
52
      cookingStartTimer = new QTimer(this);
8c2952457   김태훈   응용 프로그램 추가
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
      cookingStartTimer->setSingleShot(true);
      cookingStartTimer->setInterval(3000);
      connect(ui->timeSlider, SIGNAL(valueChanged(int)), cookingStartTimer, SLOT(start()));
      connect(ui->timeSlider, SIGNAL(valueChanged(int)), this, SLOT(updateLabels()));
      connect(this, SIGNAL(modeButtonClicked()), cookingStartTimer, SLOT(stop()));
      connect(cookingStartTimer, SIGNAL(timeout()), oven, SLOT(startCooking()));
      connect(cookingStartTimer, SIGNAL(timeout()), cookingTimerCheckTimer, SLOT(start()));
  
      QTimer *showCurHumTimer = new QTimer(this);
      QTimer *showCurTempTimer = new QTimer(this);
      showCurHumTimer->setInterval(2000);
      showCurTempTimer->setInterval(2000);
  
      connect(ui->humidityButton, SIGNAL(pressed()), showCurHumTimer, SLOT(start()));
      connect(ui->humidityButton, SIGNAL(released()), showCurHumTimer, SLOT(stop()));
      connect(showCurHumTimer, SIGNAL(timeout()), this, SLOT(showCurrentHumidity()));
      connect(ui->humidityButton, SIGNAL(released()), this, SLOT(hideCurrentHumidity()));
  
      connect(ui->tempButton, SIGNAL(pressed()), showCurTempTimer, SLOT(start()));
      connect(ui->tempButton, SIGNAL(released()), showCurTempTimer, SLOT(stop()));
      connect(showCurTempTimer, SIGNAL(timeout()), this, SLOT(showCurrentTemp()));
      connect(ui->tempButton, SIGNAL(released()), this, SLOT(hideCurrentTemp()));
  
      QSignalMapper *smStack = new QSignalMapper(this);
      smStack->setMapping(ui->goFrontStackButton, 0);
      smStack->setMapping(ui->goBackStackButton, 1);
      connect(ui->goFrontStackButton, SIGNAL(clicked()), smStack, SLOT(map()));
      connect(ui->goBackStackButton, SIGNAL(clicked()), smStack, SLOT(map()));
      connect(smStack, SIGNAL(mapped(int)), ui->buttonStack, SLOT(setCurrentIndex(int)));
  
      connect(ui->backButton, SIGNAL(clicked()), this, SLOT(hide()));
      connect(ui->backButton, SIGNAL(clicked()), oven, SLOT(stop()));
      connect(ui->backButton, SIGNAL(clicked()), cookingTimerCheckTimer, SLOT(stop()));
      connect(ui->backButton, SIGNAL(clicked()), cookingStartTimer, SLOT(stop()));
      connect(ui->backButton, SIGNAL(clicked()), showCurHumTimer, SLOT(stop()));
      connect(ui->backButton, SIGNAL(clicked()), showCurTempTimer, SLOT(stop()));
  
      connect(this, SIGNAL(cookStopRequested()), cookingStartTimer, SLOT(stop()));
  
      ui->bodyStack->setCurrentIndex(0);
cfc2fcc35   김태훈   쿨다운 팝업 추가
93
94
95
96
97
98
99
100
101
102
103
  
      ui->openDoorAnimation->load(":/images/animation/door_big_09.png");
      ui->openDoorAnimation->load(":/images/animation/door_big_08.png");
      ui->openDoorAnimation->load(":/images/animation/door_big_07.png");
      ui->openDoorAnimation->load(":/images/animation/door_big_06.png");
      ui->openDoorAnimation->load(":/images/animation/door_big_05.png");
      ui->openDoorAnimation->load(":/images/animation/door_big_04.png");
      ui->openDoorAnimation->load(":/images/animation/door_big_03.png");
      ui->openDoorAnimation->load(":/images/animation/door_big_02.png");
      ui->openDoorAnimation->load(":/images/animation/door_big_01.png");
      ui->openDoorAnimation->start(300);
8c2952457   김태훈   응용 프로그램 추가
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
  }
  
  ManualCookWindow::~ManualCookWindow()
  {
      delete ui;
  }
  
  void ManualCookWindow::checkTime()
  {
      if (oven->cooking() && !ui->timeSlider->isSliderDown())
      {
          bool old = ui->timeSlider->blockSignals(true);
          ui->timeSlider->setSliderPosition(oven->time());
          ui->timeSlider->blockSignals(old);
  
          updateLabels();
      }
  }
  
  void ManualCookWindow::showCurrentHumidity()
  {
      showCurrentHumidity_ = true;
      updateLabels();
  }
  
  void ManualCookWindow::hideCurrentHumidity()
  {
      showCurrentHumidity_ = false;
      updateLabels();
  }
  
  void ManualCookWindow::showCurrentTemp()
  {
      showCurrentTemp_ = true;
      updateLabels();
  }
  
  void ManualCookWindow::hideCurrentTemp()
  {
      showCurrentTemp_ = false;
      updateLabels();
  }
  
  void ManualCookWindow::updateLabels()
  {
      QString buf;
  
      int humidity;
      if (showCurrentHumidity_)
          humidity = oven->currentHumidity();
      else if (ui->humiditySlider->isSliderDown())
          humidity = ui->humiditySlider->sliderPosition();
      else
          humidity = oven->humidity();
  
      ui->humidityLabel->setText(buf.sprintf("%d%%", humidity));
  
      int temp;
      if (showCurrentTemp_)
          temp = oven->currentTemp();
      else if (ui->tempSlider->isSliderDown())
          temp = ui->tempSlider->sliderPosition();
      else
          temp = oven->temp();
6f96c947a   김태훈   GUI 0.1.4
168
      ui->tempLabel->setText(buf.sprintf("%d<span style=\"font-size:11pt;\">℃</span>", temp));
8c2952457   김태훈   응용 프로그램 추가
169
170
171
172
173
174
  
      int time;
      if (ui->timeSlider->isSliderDown())
          time = ui->timeSlider->sliderPosition();
      else
          time = oven->time();
c598b01b2   김태훈   GUI 업데이트
175
      if (time >= 3600)
6f96c947a   김태훈   GUI 0.1.4
176
          ui->timeLabel->setText(buf.sprintf("%d<span style=\"font-size:11pt;\">시간</span> %02d<span style=\"font-size:11pt;\">분</span>", time / 3600, (time % 3600) / 60));
c598b01b2   김태훈   GUI 업데이트
177
      else if (time >= 60)
6f96c947a   김태훈   GUI 0.1.4
178
          ui->timeLabel->setText(buf.sprintf("%d<span style=\"font-size:11pt;\">분</span> %02d<span style=\"font-size:11pt;\">초</span>", time / 60, time % 60));
c598b01b2   김태훈   GUI 업데이트
179
      else
6f96c947a   김태훈   GUI 0.1.4
180
          ui->timeLabel->setText(buf.sprintf("%d<span style=\"font-size:11pt;\">초</span>", time));
8c2952457   김태훈   응용 프로그램 추가
181
182
183
184
185
186
187
188
  
      if (oven->interTempEnabled())
      {
          int interTemp;
          if (ui->interTempSlider->isSliderDown())
              interTemp = ui->interTempSlider->sliderPosition();
          else
              interTemp = oven->interTemp();
6f96c947a   김태훈   GUI 0.1.4
189
          ui->interTempLabel->setText(buf.sprintf("%d<span style=\"font-size:11pt;\">℃</span>", interTemp));
8c2952457   김태훈   응용 프로그램 추가
190
191
      }
      else
6f96c947a   김태훈   GUI 0.1.4
192
          ui->interTempLabel->setText("<span style=\"font-size:11pt;\">℃</span>");
8c2952457   김태훈   응용 프로그램 추가
193
ae1095876   김태훈   중심 온도 설정 창에서 중심 온...
194
195
196
197
198
      int innerInterTemp = ui->innerInterTempSlider->sliderPosition();
  //    if (ui->innerInterTempSlider->isSliderDown())
  //        innerInterTemp = ui->innerInterTempSlider->sliderPosition();
  //    else
  //        innerInterTemp = oven->interTemp();
8c2952457   김태훈   응용 프로그램 추가
199
6f96c947a   김태훈   GUI 0.1.4
200
      ui->innerInterTempLabel->setText(buf.sprintf("%d<span style=\"font-size:11pt;\">℃</span>", innerInterTemp));
8c2952457   김태훈   응용 프로그램 추가
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
  
      ui->curHumidityLabel->setText(buf.sprintf("%d", oven->currentHumidity()));
      ui->targetHumidityLabel->setText(buf.sprintf("%d", oven->humidity()));
      ui->curTempLabel->setText(buf.sprintf("%d", oven->currentTemp()));
      ui->curInterTempLabel->setText(buf.sprintf("%d", oven->currentInterTemp()));
  }
  
  void ManualCookWindow::onModeButtonClicked(int mode)
  {
      oven->stop();
      oven->setDefault((Oven::Mode) mode);
      ui->bodyStack->setCurrentIndex(0);
  }
  
  void ManualCookWindow::onOvenUpdated(Oven *oven)
  {
8c2952457   김태훈   응용 프로그램 추가
217
218
219
220
      switch (oven->mode())
      {
      case Oven::HeatMode:
          ui->dryheatButton->setChecked(true);
8c2952457   김태훈   응용 프로그램 추가
221
222
223
          break;
      case Oven::SteamMode:
          ui->steamButton->setChecked(true);
8c2952457   김태훈   응용 프로그램 추가
224
225
226
          break;
      case Oven::CombinationMode:
          ui->combiButton->setChecked(true);
8c2952457   김태훈   응용 프로그램 추가
227
228
229
230
231
232
233
234
          break;
      default:
          break;
      }
  
      bool old;
      old = ui->humiditySlider->blockSignals(true);
      ui->humiditySlider->setValue(oven->humidity());
99b8066f4   김태훈   V0.1.1
235
      ui->humiditySlider->setEnabled(oven->mode() == Oven::CombinationMode);
8c2952457   김태훈   응용 프로그램 추가
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
      ui->humiditySlider->blockSignals(old);
  
      old = ui->tempSlider->blockSignals(true);
      ui->tempSlider->setRange(oven->minTemp(), oven->maxTemp());
      ui->tempSlider->setValue(oven->temp());
      ui->tempSlider->blockSignals(old);
  
      if (!ui->timeSlider->isSliderDown())
      {
          old = ui->timeSlider->blockSignals(true);
          ui->timeSlider->setValue(oven->time());
          ui->timeSlider->blockSignals(old);
      }
  
  //    ui->interTempButton->setChecked(oven->interTempEnabled());
      if (oven->interTempEnabled())
          ui->interTempButton->setStyleSheet("\
6f96c947a   김태훈   GUI 0.1.4
253
  QPushButton {\
05f2a7552   김태훈   image 관리 구조 변경
254
      image: url(:/images/slider_icon/core_temp_enabled.png);\
8c2952457   김태훈   응용 프로그램 추가
255
  }\
6f96c947a   김태훈   GUI 0.1.4
256
  QPushButton:pressed {\
05f2a7552   김태훈   image 관리 구조 변경
257
      image: url(:/images/slider_icon/core_temp_ov.png);\
8c2952457   김태훈   응용 프로그램 추가
258
259
260
  }");
      else
          ui->interTempButton->setStyleSheet("\
6f96c947a   김태훈   GUI 0.1.4
261
  QPushButton {\
05f2a7552   김태훈   image 관리 구조 변경
262
      image: url(:/images/slider_icon/core_temp.png);\
8c2952457   김태훈   응용 프로그램 추가
263
  }\
6f96c947a   김태훈   GUI 0.1.4
264
  QPushButton:pressed {\
05f2a7552   김태훈   image 관리 구조 변경
265
      image: url(:/images/slider_icon/core_temp_ov.png);\
8c2952457   김태훈   응용 프로그램 추가
266
267
268
269
270
271
272
273
274
275
276
277
  }");
  
      old = ui->interTempSlider->blockSignals(true);
      ui->interTempSlider->setEnabled(oven->interTempEnabled());
      ui->interTempSlider->setRange(oven->minInterTemp(), oven->maxInterTemp());
      ui->interTempSlider->setValue(oven->interTemp());
      ui->interTempSlider->blockSignals(old);
  
      old = ui->innerInterTempSlider->blockSignals(true);
      ui->innerInterTempSlider->setRange(oven->minInterTemp(), oven->maxInterTemp());
      ui->innerInterTempSlider->setValue(oven->interTemp());
      ui->innerInterTempSlider->blockSignals(old);
c598b01b2   김태훈   GUI 업데이트
278
279
      if (oven->cooking())
          ui->runStopButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
280
                      "border-image: url(:/images/manual_button/stop.png)");
c598b01b2   김태훈   GUI 업데이트
281
282
      else
          ui->runStopButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
283
                      "border-image: url(:/images/manual_button/run.png)");
c598b01b2   김태훈   GUI 업데이트
284
285
286
  
      if (oven->damper())
          ui->damperButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
287
                      "background-image: url(:/images/manual_button/damper_open.png)");
c598b01b2   김태훈   GUI 업데이트
288
289
      else
          ui->damperButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
290
                      "background-image: url(:/images/manual_button/damper_close.png)");
c598b01b2   김태훈   GUI 업데이트
291
292
293
  
      if (oven->humidification())
          ui->humidificationButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
294
                      "background-image: url(:/images/manual_button/side_nozzle_open.png)");
c598b01b2   김태훈   GUI 업데이트
295
296
      else
          ui->humidificationButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
297
                      "background-image: url(:/images/manual_button/side_nozzle_close.png)");
8c2952457   김태훈   응용 프로그램 추가
298
299
300
301
302
  
      switch (oven->fan())
      {
      case 1:
          ui->fanButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
303
                      "background-image: url(:/images/manual_button/fan_1.png)");
8c2952457   김태훈   응용 프로그램 추가
304
305
306
          break;
      case 2:
          ui->fanButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
307
                      "background-image: url(:/images/manual_button/fan_2.png)");
8c2952457   김태훈   응용 프로그램 추가
308
309
310
          break;
      case 3:
          ui->fanButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
311
                      "background-image: url(:/images/manual_button/fan_3.png)");
8c2952457   김태훈   응용 프로그램 추가
312
313
314
          break;
      case 4:
          ui->fanButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
315
                      "background-image: url(:/images/manual_button/fan_4.png)");
8c2952457   김태훈   응용 프로그램 추가
316
317
318
          break;
      case 5:
          ui->fanButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
319
                      "background-image: url(:/images/manual_button/fan_5.png)");
8c2952457   김태훈   응용 프로그램 추가
320
321
322
          break;
      default:
          ui->fanButton->setStyleSheet(
05f2a7552   김태훈   image 관리 구조 변경
323
                      "background-image: url(:/images/manual_button/fan_1.png)");
8c2952457   김태훈   응용 프로그램 추가
324
325
          break;
      }
cfc2fcc35   김태훈   쿨다운 팝업 추가
326
327
328
329
      if (oven->paused() && !oven->cooldown() && oven->door())
          ui->upperStack->setCurrentIndex(1);
      else
          ui->upperStack->setCurrentIndex(0);
8c2952457   김태훈   응용 프로그램 추가
330
331
      updateLabels();
  }
c598b01b2   김태훈   GUI 업데이트
332
  void ManualCookWindow::on_runStopButton_clicked()
8c2952457   김태훈   응용 프로그램 추가
333
  {
c598b01b2   김태훈   GUI 업데이트
334
      if (oven->cooking())
8c2952457   김태훈   응용 프로그램 추가
335
336
337
338
      {
          oven->stopCooking();
          emit cookStopRequested();
      }
c598b01b2   김태훈   GUI 업데이트
339
340
      else
          oven->startCooking();
8c2952457   김태훈   응용 프로그램 추가
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
  }
  
  void ManualCookWindow::on_fanButton_clicked()
  {
      int fan = oven->fan() + 1;
      if (fan > oven->maxFan())
          fan = oven->minFan();
  
      oven->setFan(fan);
  }
  
  void ManualCookWindow::on_goOuterButton_clicked()
  {
      ui->bodyStack->setCurrentIndex(0);
  }
  
  void ManualCookWindow::on_applyButton_clicked()
  {
      ui->bodyStack->setCurrentIndex(0);
  
      oven->setInterTemp(ui->innerInterTempSlider->value());
8c2952457   김태훈   응용 프로그램 추가
362
      oven->setInterTempEnabled(true);
8c2952457   김태훈   응용 프로그램 추가
363
364
365
366
367
368
369
370
371
372
373
374
  }
  
  void ManualCookWindow::on_interTempButton_clicked()
  {
      if (oven->interTempEnabled())
          oven->setInterTempEnabled(false);
      else
          ui->bodyStack->setCurrentIndex(1);
  }
  
  void ManualCookWindow::on_preheatButton_clicked()
  {
4fc65fb81   김태훈   GUI V0.1.6(이 버전으로...
375
      cookingStartTimer->stop();
05f2a7552   김태훈   image 관리 구조 변경
376
377
378
      PreheatPopup *p = new PreheatPopup(this, oven);
      p->setWindowModality(Qt::WindowModal);
      p->showFullScreen();
8c2952457   김태훈   응용 프로그램 추가
379
380
381
382
  }
  
  void ManualCookWindow::on_damperButton_clicked()
  {
c598b01b2   김태훈   GUI 업데이트
383
384
      if (oven->damper())
          oven->closeDamper();
8c2952457   김태훈   응용 프로그램 추가
385
      else
c598b01b2   김태훈   GUI 업데이트
386
          oven->openDamper();
8c2952457   김태훈   응용 프로그램 추가
387
388
389
390
  }
  
  void ManualCookWindow::on_humidificationButton_clicked()
  {
c598b01b2   김태훈   GUI 업데이트
391
392
      if (oven->humidification())
          oven->stopHumidification();
8c2952457   김태훈   응용 프로그램 추가
393
      else
c598b01b2   김태훈   GUI 업데이트
394
          oven->startHumidification();
8c2952457   김태훈   응용 프로그램 추가
395
396
397
398
  }
  
  void ManualCookWindow::on_repeatButton_clicked()
  {
8c2952457   김태훈   응용 프로그램 추가
399
8c2952457   김태훈   응용 프로그램 추가
400
401
402
403
  }
  
  void ManualCookWindow::on_cooldownButton_clicked()
  {
cfc2fcc35   김태훈   쿨다운 팝업 추가
404
405
406
407
408
      cookingStartTimer->stop();
  
      CooldownPopup *p = new CooldownPopup(this, oven);
      p->setWindowModality(Qt::WindowModal);
      p->showFullScreen();
8c2952457   김태훈   응용 프로그램 추가
409
410
411
412
  }
  
  void ManualCookWindow::on_reserveButton_clicked()
  {
8c2952457   김태훈   응용 프로그램 추가
413
8c2952457   김태훈   응용 프로그램 추가
414
415
416
417
  }
  
  void ManualCookWindow::on_favoritesButton_clicked()
  {
8c2952457   김태훈   응용 프로그램 추가
418
8c2952457   김태훈   응용 프로그램 추가
419
  }