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

Last change on this file since 10475 was 5491, checked in by mervart, 11 years ago
File size: 773 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 QColor& color, const QString& name, double latDeg, double lonDeg) {
20 _color = color;
21 _name = name;
22 _latDeg = latDeg;
23 _lonDeg = lonDeg;
24 }
25 ~t_point() {}
26 QColor _color;
27 QString _name;
28 double _latDeg;
29 double _lonDeg;
30 };
31
32 public slots:
33 void slotNewPoints(const QList<t_point*>& points);
34 void slotPrint();
35
36 private:
37 QwtPlotZoomer* _zoomer;
38 QList<QwtPlotMarker*> _markers;
39
40};
41
42} // namespace GnssCenter
43
44#endif
Note: See TracBrowser for help on using the repository browser.