- Timestamp:
- Mar 28, 2013, 2:01:16 PM (12 years ago)
- Location:
- trunk/GnssCenter/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/src/mainwin.cpp
r5009 r5011 136 136 void t_mainWin::slotMap() { 137 137 t_svgMap* svgMap = new t_svgMap(); 138 svgMap->setMinimumSize(600, 400);139 138 QMdiSubWindow* win = _mdi->addSubWindow(svgMap); 140 139 win->show(); -
trunk/GnssCenter/src/map/svgmap.cpp
r5004 r5011 34 34 // Constructor 35 35 ///////////////////////////////////////////////////////////////////////////// 36 t_svgMap::t_svgMap(QWidget* parent) : QDialog(parent) {36 t_svgMap::t_svgMap(QWidget* parent) : QDialog(parent), t_pluginInterface() { 37 37 38 38 // Map in Scalable Vector Graphics (svg) Format -
trunk/GnssCenter/src/map/svgmap.h
r5004 r5011 4 4 #include <QtGui> 5 5 #include <QWhatsThis> 6 #include "plugininterface.h" 6 7 7 8 class QwtPlot; … … 10 11 namespace GnssCenter { 11 12 12 class t_svgMap : public QDialog {13 class t_svgMap : public QDialog, public t_pluginInterface { 13 14 Q_OBJECT 14 15 … … 16 17 t_svgMap(QWidget* parent = 0); 17 18 ~t_svgMap(); 19 bool expectInputFile() const {return false;} 18 20 19 21 public slots: -
trunk/GnssCenter/src/plugininterface.h
r5010 r5011 2 2 #define GnssCenter_PLUGININTERFACE_H 3 3 4 #include <Qt Gui>4 #include <QtCore> 5 5 6 6 namespace GnssCenter { 7 7 8 class t_pluginInterface : public QWidget { 9 8 class t_pluginInterface { 10 9 public: 11 t_pluginInterface(const QString& fileName = QString()); 12 virtual ~t_pluginInterface() = 0; 10 virtual ~t_pluginInterface() {} 13 11 virtual bool expectInputFile() const = 0; 14 12 };
Note:
See TracChangeset
for help on using the changeset viewer.