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

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