Line | |
---|
1 | #ifndef SPINBOX_H
|
---|
2 | #define SPINBOX_H
|
---|
3 |
|
---|
4 | #include "FormLayout.h"
|
---|
5 |
|
---|
6 | class Layout;
|
---|
7 | class QSpinBox;
|
---|
8 |
|
---|
9 | class 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.