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