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 LISTWIDGET_H
|
---|
6 | #define LISTWIDGET_H
|
---|
7 |
|
---|
8 | #include "FormLayout.h"
|
---|
9 |
|
---|
10 | class QListWidget;
|
---|
11 | class Layout;
|
---|
12 | class QStringList;
|
---|
13 |
|
---|
14 | class ListWidget : public FormLayout {
|
---|
15 | Q_OBJECT
|
---|
16 |
|
---|
17 | public:
|
---|
18 | ListWidget(Layout *parent, int row, int col, QString name);
|
---|
19 | ListWidget(Layout *parent, int row, int col, QString name, QStringList& items);
|
---|
20 | ~ListWidget();
|
---|
21 |
|
---|
22 | private:
|
---|
23 | QListWidget* listwidget;
|
---|
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 // LISTWIDGET_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.