Blame view

app/gui/oven_control/reservedtimepopup.h 664 Bytes
0e279295f   김태훈   수동 요리 구현
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  #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();
f5634ecc7   김태훈   엔코더 구현
19
20
21
  protected:
      void keyPressEvent(QKeyEvent* event);
      void keyReleaseEvent(QKeyEvent* event);
0e279295f   김태훈   수동 요리 구현
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  private:
      Ui::ReservedTimePopup *ui;
      QDateTime target;
      QTimer checkTimeTimer;
  
  private slots:
      void checkTime();
      void on_cancelButton_clicked();
  
  signals:
      void timeout();
      void canceled();
  };
  
  #endif // RESERVEDTIMEPOPUP_H