Rev | Line | |
---|
[10] | 1 | // %flair:license{
|
---|
| 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
| 4 | // %flair:license}
|
---|
[9] | 5 | #ifndef COMBOBOX_H
|
---|
| 6 | #define COMBOBOX_H
|
---|
| 7 |
|
---|
| 8 | #include "FormLayout.h"
|
---|
| 9 |
|
---|
| 10 | class QComboBox;
|
---|
| 11 | class Layout;
|
---|
| 12 |
|
---|
| 13 | class ComboBox: public FormLayout
|
---|
| 14 | {
|
---|
| 15 | Q_OBJECT
|
---|
| 16 |
|
---|
| 17 | public:
|
---|
| 18 | ComboBox(Layout* parent,int row, int col,QString name,int value);
|
---|
| 19 | ~ComboBox();
|
---|
| 20 |
|
---|
| 21 | private:
|
---|
| 22 | QComboBox* combobox;
|
---|
| 23 | int combobox_value;
|
---|
| 24 | void XmlEvent(QDomElement dom);
|
---|
| 25 | void SetUptodate(void);
|
---|
| 26 | void Reset(void);
|
---|
| 27 | void LoadEvent(QDomElement dom);
|
---|
| 28 |
|
---|
| 29 | void ui_to_var(void);
|
---|
| 30 | void ui_to_xml(void);
|
---|
| 31 |
|
---|
| 32 | private slots:
|
---|
| 33 | void valuechanged(int value);
|
---|
| 34 | };
|
---|
| 35 |
|
---|
| 36 | #endif // COMBOBOX_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.