source: flair-src/branches/mavlink/tools/FlairGCS/src/ListWidget.h@ 54

Last change on this file since 54 was 54, checked in by Thomas Fuhrmann, 6 years ago

Default xml configuration is working with ListWidget

File size: 764 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 LISTWIDGET_H
6#define LISTWIDGET_H
7
8#include "FormLayout.h"
9
10class QListWidget;
11class Layout;
12class QStringList;
13
14class ListWidget : public FormLayout {
15 Q_OBJECT
16
17public:
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
22private:
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
32private slots:
33 // void valuechanged(int value);
34};
35
36#endif // LISTWIDGET_H
Note: See TracBrowser for help on using the repository browser.