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

Last change on this file since 5012 was 5012, checked in by mervart, 11 years ago
File size: 1.0 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
16 public:
17 t_svgMap(QWidget* parent = 0);
18 ~t_svgMap();
19 virtual bool expectInputFile() const {return false;}
20 virtual void setInputFile(const QString&) {}
21 virtual void show() {QDialog::show();}
22
23 public slots:
24 void slotNewPoint(const QString& name, double latDeg, double lonDeg);
25
26 private slots:
27 void slotClose();
28 void slotPrint();
29 void slotWhatsThis();
30
31 protected:
32 virtual void closeEvent(QCloseEvent *);
33 virtual void showEvent(QShowEvent *);
34
35 private:
36 QwtPlot* _mapPlot;
37 QwtPlotZoomer* _mapPlotZoomer;
38 QPushButton* _buttonClose;
39 QPushButton* _buttonPrint;
40 QPushButton* _buttonWhatsThis;
41 double _minPointLat;
42 double _maxPointLat;
43 double _minPointLon;
44 double _maxPointLon;
45
46};
47
48} // namespace GnssCenter
49
50#endif
Note: See TracBrowser for help on using the repository browser.