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 |
|
---|
[5015] | 12 | class t_inpEdit : public QTabWidget, public t_pluginInterface {
|
---|
[4823] | 13 | public:
|
---|
[5015] | 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();}
|
---|
[4823] | 19 | private:
|
---|
| 20 | void readFile();
|
---|
[4871] | 21 | QString _fileName;
|
---|
| 22 | QMap<QString, t_keyword*> _keywords;
|
---|
[4823] | 23 | };
|
---|
| 24 |
|
---|
[5051] | 25 | class t_inpEditFactory : public QObject, public t_pluginFactoryInterface {
|
---|
| 26 | Q_OBJECT
|
---|
| 27 | Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
|
---|
| 28 | public:
|
---|
| 29 | t_pluginInterface* create() {return new t_inpEdit();}
|
---|
| 30 | };
|
---|
| 31 |
|
---|
[5000] | 32 | } // namespace GnssCenter
|
---|
[4823] | 33 |
|
---|
| 34 | #endif
|
---|
| 35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.