Blame view

app/gui/oven_control/commicon.h 334 Bytes
0da128bb8   김태훈   상태 영역에 제어 보드 통신 상...
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
  #ifndef COMMICON_H
  #define COMMICON_H
  
  #include <QWidget>
  
  class CommIcon : public QWidget
  {
      Q_OBJECT
  public:
      explicit CommIcon(QWidget *parent = nullptr);
  
  signals:
  
  public slots:
      void setFault();
      void setOK();
  
  protected:
      void paintEvent(QPaintEvent *event);
  
  private:
      bool isFault;
  };
  
  #endif // COMMICON_H