Blame view

app/gui/oven_control/dotprogressbarwidget.h 649 Bytes
92fef6124   고영탁   환경 설정 - 설정 UI 완료
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
35
36
  #ifndef DOTPROGRESSBARWIDGET_H
  #define DOTPROGRESSBARWIDGET_H
  
  #include <QWidget>
  #include <QLabel>
  
  
  namespace Ui {
  class DotProgressBarWidget;
  }
  
  class DotProgressBarWidget : public QWidget
  {
      Q_OBJECT
  
  public:
      explicit DotProgressBarWidget(QWidget *parent = 0);
      ~DotProgressBarWidget();
      void setMaxProgress(int curProgress, int maxProgress);
      void setCurrentProgress(int progress);
  
  
  private:
      void reloadUi(void);
  
      Ui::DotProgressBarWidget *ui;
      QPixmap basePixmap;
      QPixmap coverPixmap;
  
      QList<QLabel *>m_ctrLabelList;
  
      int m_nCurProgress;
      int m_nMaximumProgress;
  };
  
  #endif // DOTPROGRESSBARWIDGET_H