Last change
on this file since 112 was 15, checked in by Bayard Gildas, 9 years ago |
sources reformatted with flair-format-dir script
|
File size:
669 bytes
|
Line | |
---|
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}
|
---|
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 | Q_OBJECT
|
---|
15 |
|
---|
16 | public:
|
---|
17 | ComboBox(Layout *parent, int row, int col, QString name, int value);
|
---|
18 | ~ComboBox();
|
---|
19 |
|
---|
20 | private:
|
---|
21 | QComboBox *combobox;
|
---|
22 | int combobox_value;
|
---|
23 | void XmlEvent(QDomElement dom);
|
---|
24 | void SetUptodate(void);
|
---|
25 | void Reset(void);
|
---|
26 | void LoadEvent(QDomElement dom);
|
---|
27 |
|
---|
28 | void ui_to_var(void);
|
---|
29 | void ui_to_xml(void);
|
---|
30 |
|
---|
31 | private slots:
|
---|
32 | void valuechanged(int value);
|
---|
33 | };
|
---|
34 |
|
---|
35 | #endif // COMBOBOX_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.