source: flair-src/trunk/tools/FlairGCS/src/SpinBox.h@ 9

Last change on this file since 9 was 9, checked in by Sanahuja Guillaume, 8 years ago

gcs

File size: 597 bytes
Line 
1#ifndef SPINBOX_H
2#define SPINBOX_H
3
4#include "FormLayout.h"
5
6class Layout;
7class QSpinBox;
8
9class SpinBox: public FormLayout
10{
11 Q_OBJECT
12
13 public:
14 SpinBox(Layout* parent,int row, int col,QString name,QString suffix,int value,int min,int max,int step);
15 ~SpinBox();
16
17 private:
18 QSpinBox* spinbox;
19 int spinbox_value;
20 void SetUptodate(void);
21 void Reset(void);
22 void LoadEvent(QDomElement dom);
23
24 void ui_to_var(void);
25 void ui_to_xml(void);
26
27 private slots:
28 void valuechanged(int value);
29};
30
31#endif // SPINBOX_H
Note: See TracBrowser for help on using the repository browser.