Enroute Flight Navigation
A navigation app for VFR pilots
|
QML base class for lateral airspace view. More...
#include <SideviewQuickItem.h>
Public Member Functions | |
QVariantMap | airspaces () const |
Getter method for property with the same name. | |
QBindable< QVariantMap > | bindableAirspaces () const |
Getter method for property with the same name. | |
QString | error () const |
Getter method for property with the same name. | |
QBindable< QString > | bindableError () const |
Getter method for property with the same name. | |
QPointF | fiveMinuteBar () const |
Getter method for property with the same name. | |
QBindable< QPointF > | bindableFiveMinuteBar () const |
Getter method for property with the same name. | |
QPointF | ownshipPosition () const |
Getter method for property with the same name. | |
QBindable< QPointF > | bindableOwnshipPosition () const |
Getter method for property with the same name. | |
double | pixelPer10km () const |
Getter method for property with the same name. | |
QBindable< double > | bindablePixelPer10km () |
Getter method for property with the same name. | |
void | setPixelPer10km (double newVal) |
Getter method for property with the same name. | |
QString | track () const |
Getter method for property with the same name. | |
QBindable< QString > | bindableTrack () const |
Getter method for property with the same name. | |
QPolygonF | terrain () const |
Getter method for property with the same name. | |
QBindable< QPolygonF > | bindableTerrain () const |
Getter method for property with the same name. |
Properties | |
QVariantMap | airspaces |
Airspace polygons. | |
QString | error |
Error string. | |
QPointF | fiveMinuteBar |
5-Minute-Bar | |
QPointF | ownshipPosition |
Position of the own aircraft. | |
double | pixelPer10km |
Map scale. | |
QPolygonF | terrain |
Terrain polygons. | |
QString | track |
Track string. |
QML base class for lateral airspace view.
This class is the base class for the QML type "Sideview", which provides a lateral airspace view. It provides the polygons used by Sideview to draw terrain, airspaces, the position of the own aircraft, and the 5-minute bar.
Compiling the polygons is rather expensive. To keep the GUI responsive, the class limits the update frequency to one update every 700msec.
Definition at line 38 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 123 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 129 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 141 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 153 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 165 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 177 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 207 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 195 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 135 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 147 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 159 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 171 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
newVal | Property pixelPer10km |
Definition at line 183 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 201 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 189 of file SideviewQuickItem.h.
|
read |
Airspace polygons.
This property holds polygons that can be used with the QML class "Shape" in order to draw a lateral view of the airspace situation. The size and position of the polygons is adjusted to the current size of the QML item. The polygons are sorted by drawing style. The following keys are used:
Definition at line 67 of file SideviewQuickItem.h.
|
read |
Error string.
If no sideview can be shown (or if it can be shown only partially), this property holds a human-readable, translated error message that should be shown prominently on top of the sideview, in order to hide partially drawn data underneath.
Definition at line 76 of file SideviewQuickItem.h.
|
read |
5-Minute-Bar
This property holds the x- and y-extension of the 5-Minute-Bar, in pixel coordinates of this QQuickItem.
Definition at line 83 of file SideviewQuickItem.h.
|
read |
Position of the own aircraft.
This property holds the position of the own aircraft, in pixel coordinates of this QQuickItem.
Definition at line 90 of file SideviewQuickItem.h.
|
readwrite |
Map scale.
This property defines the scale of the side view. Copy the datum from a flightmap in order to synchronize the scales.
Definition at line 97 of file SideviewQuickItem.h.
|
read |
Terrain polygons.
This property holds polygons that can be used with the QML class "Shape" in order to draw a the terrain in the lateral view of the airspace situation.
Definition at line 104 of file SideviewQuickItem.h.
|
read |
Track string.
If the own aircraft is not moving sufficiently fast, this property holds a human-readable, translated string of the form "Direction → 210°". Otherwise, this property holds an empty string.
Definition at line 112 of file SideviewQuickItem.h.