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

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