|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <RallyPoint.h>
Inheritance diagram for RallyPoint:
Collaboration diagram for RallyPoint:Signals | |
| void | coordinateChanged (const QGeoCoordinate &coordinate) |
| void | dirtyChanged (bool dirty) |
Public Member Functions | |
| RallyPoint (const QGeoCoordinate &coordinate, QObject *parent=nullptr) | |
| RallyPoint (const RallyPoint &other, QObject *parent=nullptr) | |
| ~RallyPoint () | |
| const RallyPoint & | operator= (const RallyPoint &other) |
| QGeoCoordinate coordinate READ coordinate WRITE setCoordinate NOTIFY | coordinateChanged (bool dirty READ dirty WRITE setDirty NOTIFY dirtyChanged) 1(QVariantList textFieldFacts MEMBER _textFieldFacts CONSTANT) QGeoCoordinate coordinate(void) const |
| void | setCoordinate (const QGeoCoordinate &coordinate) |
| bool | dirty (void) const |
| void | setDirty (bool dirty) |
Static Public Member Functions | |
| static double | getDefaultFactAltitude () |
This class is used to encapsulate the QGeoCoordinate associated with a Rally Point into a QObject such that it can be used in a QmlObjectListMode for Qml.
Definition at line 10 of file RallyPoint.h.
| RallyPoint::RallyPoint | ( | const QGeoCoordinate & | coordinate, |
| QObject * | parent = nullptr |
||
| ) |
Definition at line 5 of file RallyPoint.cc.
References setCoordinate().
| RallyPoint::RallyPoint | ( | const RallyPoint & | other, |
| QObject * | parent = nullptr |
||
| ) |
Definition at line 17 of file RallyPoint.cc.
| RallyPoint::~RallyPoint | ( | ) |
Definition at line 42 of file RallyPoint.cc.
| QGeoCoordinate coordinate READ coordinate WRITE setCoordinate NOTIFY RallyPoint::coordinateChanged | ( | bool dirty READ dirty WRITE setDirty NOTIFY | dirtyChanged | ) | const |
Referenced by operator=(), and setCoordinate().
|
signal |
|
inline |
Definition at line 29 of file RallyPoint.h.
Referenced by setDirty().
|
signal |
Referenced by setDirty().
|
static |
Definition at line 89 of file RallyPoint.cc.
| const RallyPoint & RallyPoint::operator= | ( | const RallyPoint & | other | ) |
Definition at line 31 of file RallyPoint.cc.
References coordinateChanged().
| void RallyPoint::setCoordinate | ( | const QGeoCoordinate & | coordinate | ) |
Definition at line 70 of file RallyPoint.cc.
References coordinateChanged(), and setDirty().
Referenced by RallyPoint().
| void RallyPoint::setDirty | ( | bool | dirty | ) |
Definition at line 81 of file RallyPoint.cc.
References dirty(), and dirtyChanged().
Referenced by setCoordinate().