Line | |
---|
1 | #ifndef GnssCenter_INPEDIT_H
|
---|
2 | #define GnssCenter_INPEDIT_H
|
---|
3 |
|
---|
4 | #include <QtGui>
|
---|
5 | #include "plugininterface.h"
|
---|
6 |
|
---|
7 | namespace GnssCenter {
|
---|
8 |
|
---|
9 | class t_keyword;
|
---|
10 | class t_panel;
|
---|
11 |
|
---|
12 | class t_inpEdit : public QTabWidget {
|
---|
13 | public:
|
---|
14 | t_inpEdit();
|
---|
15 | ~t_inpEdit();
|
---|
16 | void setInputFile(const QString&);
|
---|
17 | virtual void setVisible(bool visible);
|
---|
18 | private:
|
---|
19 | void readFile();
|
---|
20 | QString _fileName;
|
---|
21 | QMap<QString, t_keyword*> _keywords;
|
---|
22 | };
|
---|
23 |
|
---|
24 | class t_inpEditFactory : public QObject, public t_pluginFactoryInterface {
|
---|
25 | Q_OBJECT
|
---|
26 | Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
|
---|
27 | public:
|
---|
28 | virtual QWidget* create() {return new t_inpEdit();}
|
---|
29 | virtual QString getName() const {return QString("Edit Input");}
|
---|
30 | };
|
---|
31 |
|
---|
32 | } // namespace GnssCenter
|
---|
33 |
|
---|
34 | #endif
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.