Changeset 15 in flair-src for trunk/tools/FlairGCS/src/DoubleSpinBox.h


Ignore:
Timestamp:
Apr 8, 2016, 3:40:57 PM (5 years ago)
Author:
Bayard Gildas
Message:

sources reformatted with flair-format-dir script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/DoubleSpinBox.h

    r10 r15  
    1111class QDoubleSpinBox;
    1212
    13 class DoubleSpinBox: public FormLayout
    14 {
    15     Q_OBJECT
     13class DoubleSpinBox : public FormLayout {
     14  Q_OBJECT
    1615
    17     public:
    18         //handle value as string, becouse double value are not exact
    19         DoubleSpinBox(Layout* parent,int row, int col,QString name,QString suffix,QString value,float min,float max,float step,int decimals);
    20         ~DoubleSpinBox();
     16public:
     17  // handle value as string, becouse double value are not exact
     18  DoubleSpinBox(Layout *parent, int row, int col, QString name, QString suffix,
     19                QString value, float min, float max, float step, int decimals);
     20  ~DoubleSpinBox();
    2121
    22     private:
    23         QDoubleSpinBox* doublespinbox;
    24         QString doublespinbox_value;
    25         void SetUptodate(void);
    26         void Reset(void);
    27         void LoadEvent(QDomElement dom);
    28         void ui_to_var(void);
    29         void ui_to_xml(void);
    30         bool eventFilter(QObject *o, QEvent *e);
    31         void adjust_decimals(QString value);
     22private:
     23  QDoubleSpinBox *doublespinbox;
     24  QString doublespinbox_value;
     25  void SetUptodate(void);
     26  void Reset(void);
     27  void LoadEvent(QDomElement dom);
     28  void ui_to_var(void);
     29  void ui_to_xml(void);
     30  bool eventFilter(QObject *o, QEvent *e);
     31  void adjust_decimals(QString value);
    3232
    33     private slots:
    34         void valuechanged(const QString &value);
     33private slots:
     34  void valuechanged(const QString &value);
    3535};
    3636
Note: See TracChangeset for help on using the changeset viewer.