Blame view

app/gui/oven_control/multicooktimebar.h 520 Bytes
2f6b55128   김태훈   다중 요리 구현
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
  #ifndef MULTICOOKTIMEBAR_H
  #define MULTICOOKTIMEBAR_H
  
  #include <QWidget>
  #include <QTimer>
  
  class MultiCookTimeBar : public QWidget
  {
      Q_OBJECT
  public:
      explicit MultiCookTimeBar(QWidget *parent = 0);
  
  signals:
  
  public slots:
      void showNow();
      void showPrev();
      void showNext();
  
  protected:
      virtual void paintEvent(QPaintEvent *event);
  
  private:
      int timePosition;
      QString lastDraw;
      QTimer checkTimer;
      QString format;
  
  private slots:
      void check();
  };
  
  #endif // MULTICOOKTIMEBAR_H