source:
ntrip/trunk/GnssCenter/inpedit/inpedit.h@
5060
Last change on this file since 5060 was 5060, checked in by , 11 years ago | |
---|---|
File size: 736 bytes |
Rev | Line | |
---|---|---|
[5015] | 1 | #ifndef GnssCenter_INPEDIT_H |
2 | #define GnssCenter_INPEDIT_H | |
[4823] | 3 | |
[4826] | 4 | #include <QtGui> |
[5015] | 5 | #include "plugininterface.h" |
[4823] | 6 | |
[5000] | 7 | namespace GnssCenter { |
[4823] | 8 | |
[4855] | 9 | class t_keyword; |
10 | class t_panel; | |
[4823] | 11 | |
[5059] | 12 | class t_inpEdit : public QTabWidget { |
[4823] | 13 | public: |
[5015] | 14 | t_inpEdit(); |
15 | ~t_inpEdit(); | |
[5059] | 16 | void setInputFile(const QString&); |
[5060] | 17 | virtual void setVisible(bool visible); |
[4823] | 18 | private: |
19 | void readFile(); | |
[4871] | 20 | QString _fileName; |
21 | QMap<QString, t_keyword*> _keywords; | |
[4823] | 22 | }; |
23 | ||
[5051] | 24 | class t_inpEditFactory : public QObject, public t_pluginFactoryInterface { |
25 | Q_OBJECT | |
26 | Q_INTERFACES(GnssCenter::t_pluginFactoryInterface) | |
27 | public: | |
[5059] | 28 | virtual QWidget* create() {return new t_inpEdit();} |
[5055] | 29 | virtual QString getName() const {return QString("Edit Input");} |
[5051] | 30 | }; |
31 | ||
[5000] | 32 | } // namespace GnssCenter |
[4823] | 33 | |
34 | #endif | |
35 |
Note:
See TracBrowser
for help on using the repository browser.