source: ntrip/trunk/GnssCenter/monitor/worldplot.h@ 5443

Last change on this file since 5443 was 5435, checked in by mervart, 11 years ago
File size: 709 bytes
Line 
1#ifndef GnssCenter_WORLDPLOT_H
2#define GnssCenter_WORLDPLOT_H
3
4#include <qwt_plot.h>
5
6class QwtPlotZoomer;
7class QwtPlotMarker;
8
9namespace GnssCenter {
10
11class t_worldPlot : public QwtPlot {
12 Q_OBJECT
13 public:
14 t_worldPlot();
15 ~t_worldPlot();
16
17 class t_point {
18 public:
19 t_point(const QString& name, double latDeg, double lonDeg) {
20 _name = name;
21 _latDeg = latDeg;
22 _lonDeg = lonDeg;
23 }
24 ~t_point() {}
25 QString _name;
26 double _latDeg;
27 double _lonDeg;
28 };
29
30 public slots:
31 void slotNewPoints(const QList<t_point*>& points);
32 void slotPrint();
33
34 private:
35 QwtPlotZoomer* _zoomer;
36 QList<QwtPlotMarker*> _markers;
37
38};
39
40} // namespace GnssCenter
41
42#endif
Note: See TracBrowser for help on using the repository browser.