Blame view

app/gui/oven_control/reservedtimepopup.h 566 Bytes
0e279295f   김태훈   수동 요리 구현
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 RESERVEDTIMEPOPUP_H
  #define RESERVEDTIMEPOPUP_H
  
  #include <QWidget>
  #include <QTimer>
  #include <QDateTime>
  
  namespace Ui {
  class ReservedTimePopup;
  }
  
  class ReservedTimePopup : public QWidget
  {
      Q_OBJECT
  
  public:
      explicit ReservedTimePopup(QWidget *parent, QDateTime target);
      ~ReservedTimePopup();
  
  private:
      Ui::ReservedTimePopup *ui;
      QDateTime target;
      QTimer checkTimeTimer;
  
  private slots:
      void checkTime();
      void on_cancelButton_clicked();
  
  signals:
      void timeout();
      void canceled();
  };
  
  #endif // RESERVEDTIMEPOPUP_H