source: ntrip/trunk/GnssCenter/inpedit/keyword.h@ 5023

Last change on this file since 5023 was 5000, checked in by mervart, 11 years ago
File size: 646 bytes
Line 
1#ifndef GnssCenter_KEYWORD_H
2#define GnssCenter_KEYWORD_H
3
4#include <QtGui>
5
6namespace GnssCenter {
7
8class t_keyword {
9 public:
10 enum e_type {checkbox, combobox, lineedit, radiobutton,
11 selwin, spinbox, uniline, e_type_max};
12
13 t_keyword(QString line, QTextStream& inStream);
14 ~t_keyword();
15
16 const QString& name() const {return _name;}
17 bool ok() const {return _ok;}
18 QWidget* createWidget(const QString& fldMask);
19 const QStringList& values() const {return _values;}
20
21 private:
22 bool _ok;
23 QString _name;
24 QStringList _values;
25 e_type _type;
26 QWidget* _widget;
27};
28
29} // namespace GnssCenter
30
31#endif
Note: See TracBrowser for help on using the repository browser.