source: ntrip/trunk/GnssCenter/inpedit/inpedit.h@ 5055

Last change on this file since 5055 was 5055, checked in by mervart, 11 years ago
File size: 840 bytes
Line 
1#ifndef GnssCenter_INPEDIT_H
2#define GnssCenter_INPEDIT_H
3
4#include <QtGui>
5#include "plugininterface.h"
6
7namespace GnssCenter {
8
9class t_keyword;
10class t_panel;
11
12class t_inpEdit : public QTabWidget, public t_pluginInterface {
13 public:
14 t_inpEdit();
15 ~t_inpEdit();
16 virtual bool expectInputFile() const {return true;}
17 virtual void setInputFile(const QString&);
18 virtual void show() {QTabWidget::show();}
19 private:
20 void readFile();
21 QString _fileName;
22 QMap<QString, t_keyword*> _keywords;
23};
24
25class t_inpEditFactory : public QObject, public t_pluginFactoryInterface {
26 Q_OBJECT
27 Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
28 public:
29 virtual t_pluginInterface* create() {return new t_inpEdit();}
30 virtual QString getName() const {return QString("Edit Input");}
31};
32
33} // namespace GnssCenter
34
35#endif
36
Note: See TracBrowser for help on using the repository browser.