source: ntrip/trunk/GnssCenter/map_stations/map_stations.h@ 5406

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