source: ntrip/trunk/GnssCenter/src/map/svgmap.h@ 5014

Last change on this file since 5014 was 5014, checked in by mervart, 9 years ago
File size: 1.1 KB
Line 
1#ifndef GnssCenter_SVGMAP_H
2#define GnssCenter_SVGMAP_H
3
4#include <QtGui>
5#include <QWhatsThis>
6#include "plugininterface.h"
7
8class QwtPlot;
9class QwtPlotZoomer;
10
11namespace GnssCenter {
12
13class t_svgMap : public QDialog, public t_pluginInterface {
14 Q_OBJECT
15 Q_INTERFACES(GnssCenter::t_pluginInterface)
16
17 public:
18 t_svgMap();
19 ~t_svgMap();
20 virtual bool expectInputFile() const {return false;}
21 virtual void setInputFile(const QString&) {}
22 virtual void show() {QDialog::show();}
23
24 public slots:
25 void slotNewPoint(const QString& name, double latDeg, double lonDeg);
26
27 private slots:
28 void slotClose();
29 void slotPrint();
30 void slotWhatsThis();
31
32 protected:
33 virtual void closeEvent(QCloseEvent *);
34 virtual void showEvent(QShowEvent *);
35
36 private:
37 QwtPlot* _mapPlot;
38 QwtPlotZoomer* _mapPlotZoomer;
39 QPushButton* _buttonClose;
40 QPushButton* _buttonPrint;
41 QPushButton* _buttonWhatsThis;
42 double _minPointLat;
43 double _maxPointLat;
44 double _minPointLon;
45 double _maxPointLon;
46
47};
48
49} // namespace GnssCenter
50
51#endif
Note: See TracBrowser for help on using the repository browser.