Changeset 15 in flair-src for trunk/tools/FlairGCS/src/Vector3DSpinBox.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/Vector3DSpinBox.h

    r10 r15  
    1313class QGridLayout;
    1414
    15 class Vector3DSpinBox: public XmlWidget
    16 {
    17     Q_OBJECT
     15class Vector3DSpinBox : public XmlWidget {
     16  Q_OBJECT
    1817
    19     public:
    20         //handle value as string, becouse double value are not exact
    21         Vector3DSpinBox(Layout* parent,int row, int col,QString name,QString value[3],float min,float max,float step,int decimals);
    22         ~Vector3DSpinBox();
     18public:
     19  // handle value as string, becouse double value are not exact
     20  Vector3DSpinBox(Layout *parent, int row, int col, QString name,
     21                  QString value[3], float min, float max, float step,
     22                  int decimals);
     23  ~Vector3DSpinBox();
    2324
    24     private:
    25         QGridLayout* qgridlayout;
    26         QGroupBox* box;
    27         QDoubleSpinBox doublespinbox[3];
    28         QString doublespinbox_value[3];
    29         void AddElement(QString name,int index);
    30         void SetUptodate(void);
    31         void SetValues(QString value[3]);
    32         void Reset(void);
    33         void LoadEvent(QDomElement dom);
    34         void ui_to_var(void);
    35         void ui_to_xml(void);
    36         bool eventFilter(QObject *o, QEvent *e);
    37         void adjust_decimals(QString value[3]);
    38         bool IsUptodate(void);
     25private:
     26  QGridLayout *qgridlayout;
     27  QGroupBox *box;
     28  QDoubleSpinBox doublespinbox[3];
     29  QString doublespinbox_value[3];
     30  void AddElement(QString name, int index);
     31  void SetUptodate(void);
     32  void SetValues(QString value[3]);
     33  void Reset(void);
     34  void LoadEvent(QDomElement dom);
     35  void ui_to_var(void);
     36  void ui_to_xml(void);
     37  bool eventFilter(QObject *o, QEvent *e);
     38  void adjust_decimals(QString value[3]);
     39  bool IsUptodate(void);
    3940
    40     private slots:
    41         void valuechanged(const QString &value);
     41private slots:
     42  void valuechanged(const QString &value);
    4243};
    4344
Note: See TracChangeset for help on using the changeset viewer.