Blame view

app/gui/oven_control/formatterspinbox.h 438 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
  #ifndef FORMATTERSPINBOX_H
  #define FORMATTERSPINBOX_H
  
  #include <QWidget>
  #include <QSpinBox>
  
  
  
  class FormatterSpinBox : public QSpinBox
  {
      Q_OBJECT
  private:
      int m_nwidth;
  
  public:
      explicit FormatterSpinBox(QWidget *parent = Q_NULLPTR);
  
      int valueFromText(const QString &text) const Q_DECL_OVERRIDE;
      QString textFromValue(int value) const Q_DECL_OVERRIDE;
  
      void setFormatterWidth(int wid);
  };
  
  #endif // SPINBOX_H