Changeset 5011 in ntrip for trunk


Ignore:
Timestamp:
Mar 28, 2013, 2:01:16 PM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/src/mainwin.cpp

    r5009 r5011  
    136136void t_mainWin::slotMap() {
    137137  t_svgMap* svgMap = new t_svgMap();
    138   svgMap->setMinimumSize(600, 400);
    139138  QMdiSubWindow* win = _mdi->addSubWindow(svgMap);
    140139  win->show();
  • trunk/GnssCenter/src/map/svgmap.cpp

    r5004 r5011  
    3434// Constructor
    3535/////////////////////////////////////////////////////////////////////////////
    36 t_svgMap::t_svgMap(QWidget* parent) : QDialog(parent) {
     36t_svgMap::t_svgMap(QWidget* parent) : QDialog(parent), t_pluginInterface() {
    3737
    3838  // Map in Scalable Vector Graphics (svg) Format
  • trunk/GnssCenter/src/map/svgmap.h

    r5004 r5011  
    44#include <QtGui>
    55#include <QWhatsThis>
     6#include "plugininterface.h"
    67
    78class QwtPlot;
     
    1011namespace GnssCenter {
    1112
    12 class t_svgMap : public QDialog {
     13class t_svgMap : public QDialog, public t_pluginInterface {
    1314 Q_OBJECT
    1415   
     
    1617  t_svgMap(QWidget* parent = 0);
    1718  ~t_svgMap();
     19  bool expectInputFile() const {return false;}
    1820   
    1921 public slots:
  • trunk/GnssCenter/src/plugininterface.h

    r5010 r5011  
    22#define GnssCenter_PLUGININTERFACE_H
    33
    4 #include <QtGui>
     4#include <QtCore>
    55
    66namespace GnssCenter {
    77
    8 class t_pluginInterface : public QWidget {
    9    
     8class t_pluginInterface {
    109 public:
    11   t_pluginInterface(const QString& fileName = QString());
    12   virtual ~t_pluginInterface() = 0;
     10  virtual ~t_pluginInterface() {}
    1311  virtual bool expectInputFile() const = 0;
    1412};
Note: See TracChangeset for help on using the changeset viewer.