Line | |
---|
1 | #ifndef COMBOBOX_H
|
---|
2 | #define COMBOBOX_H
|
---|
3 |
|
---|
4 | #include "FormLayout.h"
|
---|
5 |
|
---|
6 | class QComboBox;
|
---|
7 | class Layout;
|
---|
8 |
|
---|
9 | class ComboBox: public FormLayout
|
---|
10 | {
|
---|
11 | Q_OBJECT
|
---|
12 |
|
---|
13 | public:
|
---|
14 | ComboBox(Layout* parent,int row, int col,QString name,int value);
|
---|
15 | ~ComboBox();
|
---|
16 |
|
---|
17 | private:
|
---|
18 | QComboBox* combobox;
|
---|
19 | int combobox_value;
|
---|
20 | void XmlEvent(QDomElement dom);
|
---|
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(int value);
|
---|
30 | };
|
---|
31 |
|
---|
32 | #endif // COMBOBOX_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.