Rev | Line | |
---|
[9] | 1 | #ifndef CHECKBOX_H
|
---|
| 2 | #define CHECKBOX_H
|
---|
| 3 |
|
---|
| 4 | #include "FormLayout.h"
|
---|
| 5 |
|
---|
| 6 | class Layout;
|
---|
| 7 | class QCheckBox;
|
---|
| 8 |
|
---|
| 9 | class CheckBox: public FormLayout
|
---|
| 10 | {
|
---|
| 11 | Q_OBJECT
|
---|
| 12 |
|
---|
| 13 | public:
|
---|
| 14 | CheckBox(Layout* parent,int row, int col,QString name,bool value);
|
---|
| 15 | ~CheckBox();
|
---|
| 16 |
|
---|
| 17 |
|
---|
| 18 | private:
|
---|
| 19 | QCheckBox* checkbox;
|
---|
| 20 | bool checkbox_value;
|
---|
| 21 | void SetUptodate(void);
|
---|
| 22 | void Reset(void);
|
---|
| 23 | void LoadEvent(QDomElement dom);
|
---|
| 24 |
|
---|
| 25 | void ui_to_var(void);
|
---|
| 26 | void ui_to_xml(void);
|
---|
| 27 |
|
---|
| 28 | private slots:
|
---|
| 29 | void valuechanged(bool value);
|
---|
| 30 | };
|
---|
| 31 |
|
---|
| 32 | #endif // CHECKBOX_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.