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

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