dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
gpsdisplaywidget.h
Go to the documentation of this file.
1
12
/*
13
* This program is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation; either version 3 of the License, or
16
* (at your option) any later version.
17
*
18
* This program is distributed in the hope that it will be useful, but
19
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
* for more details.
22
*
23
* You should have received a copy of the GNU General Public License along
24
* with this program; if not, see <http://www.gnu.org/licenses/>
25
*/
26
27
#ifndef GPSDISPLAYWIDGET_H_
28
#define GPSDISPLAYWIDGET_H_
29
30
#include "ui_gpsdisplaywidget.h"
31
#include "
gpsconstellationwidget.h
"
32
#include "
uavobjects/uavobject.h
"
33
#include <QGraphicsView>
34
#include <QtSvg/QSvgRenderer>
35
#include <QtSvg/QGraphicsSvgItem>
36
37
class
Ui_GpsDisplayWidget;
38
39
class
GpsDisplayWidget
:
public
QWidget,
public
Ui_GpsDisplayWidget
40
{
41
Q_OBJECT
42
43
public
:
44
GpsDisplayWidget
(QWidget *parent =
nullptr
);
45
~GpsDisplayWidget
();
46
47
private
slots:
48
void
setSVs(
int
);
49
void
setPosition(
double
,
double
,
double
);
50
void
setDateTime(
double
,
double
);
51
void
setSpeedHeading(
double
,
double
);
52
void
setFixType(
const
QString &fixtype);
53
void
setDOP(
double
hdop,
double
vdop,
double
pdop);
54
55
private
:
56
GpsConstellationWidget
*gpsConstellation;
57
QGraphicsSvgItem *marker;
58
};
59
#endif
/* GPSDISPLAYWIDGET_H_ */
GpsDisplayWidget
Definition:
gpsdisplaywidget.h:39
gpsconstellationwidget.h
GpsDisplayWidget::~GpsDisplayWidget
~GpsDisplayWidget()
Definition:
gpsdisplaywidget.cpp:62
GpsConstellationWidget
Definition:
gpsconstellationwidget.h:34
GpsDisplayWidget::GpsDisplayWidget
GpsDisplayWidget(QWidget *parent=nullptr)
Definition:
gpsdisplaywidget.cpp:43
uavobject.h
ground
gcs
src
plugins
gpsdisplay
gpsdisplaywidget.h
Generated by
1.8.6