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 36 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 121 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 127 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 139 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 151 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 163 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 175 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 205 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 193 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 133 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 145 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 157 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 169 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
newVal | Property pixelPer10km |
Definition at line 181 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 199 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 187 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 65 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 74 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 81 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 88 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 95 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 102 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 110 of file SideviewQuickItem.h.