|
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 39 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 124 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 130 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 142 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 154 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 166 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 178 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 208 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 196 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 136 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 148 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 160 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 172 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
| newVal | Property pixelPer10km |
Definition at line 184 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 202 of file SideviewQuickItem.h.
|
inline |
Getter method for property with the same name.
Definition at line 190 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 68 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 77 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 84 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 91 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 98 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 105 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 113 of file SideviewQuickItem.h.