NDEVR
API Documentation
PositionStatusWnd.h
1#pragma once
2#include <QWidget>
3#include "GPSSensor.h"
4namespace NDEVR
5{
8 class CPositionStatusWnd : public QWidget
9 {
10 private:
11 Q_OBJECT
12 GPSSensor* m_pNMEAParser;
13 public:
17 explicit CPositionStatusWnd(GPSSensor* pNMEAParser, QWidget* parent = 0);
20 QSize sizeHint() const;
21 protected:
24 void paintEvent(QPaintEvent*);
26 void DrawScreen();
27 protected slots:
30 };
31}
QSize sizeHint() const
Returns the preferred size for this widget.
void paintEvent(QPaintEvent *)
Paints the position status display.
CPositionStatusWnd(GPSSensor *pNMEAParser, QWidget *parent=0)
Constructs the position status window.
void OnNewPositionUpdateGPS()
Slot called when new GPS position data is available.
void DrawScreen()
Renders the position data to the widget.
A GPS sensor implementation that receives NMEA data from serial connections, files,...
Definition GPSSensor.h:61
The primary namespace for the NDEVR SDK.