26#include "navigation/BaroCache.h"
38class SideviewQuickItem :
public QQuickItem
41 QML_NAMED_ELEMENT(SideviewQuickItem)
44 explicit SideviewQuickItem(QQuickItem *parent =
nullptr);
46 ~SideviewQuickItem()
override =
default;
123 QVariantMap
airspaces()
const {
return m_airspaces.value();}
135 QString
error()
const {
return m_error.value();}
189 QString
track()
const {
return m_track.value();}
201 QPolygonF
terrain()
const {
return m_terrain.value();}
215 QElapsedTimer m_elapsedTimer;
217 static constexpr int minimumUpdateInterval_ms = 700;
220 void updateProperties();
223 QProperty<QString> m_error;
225 QProperty<QString> m_track;
227 QProperty<double> m_pixelPer10km;
229 QProperty<QPointF> m_ownshipPosition;
231 QProperty<QPointF> m_fiveMinuteBar;
233 QProperty<QPolygonF> m_terrain;
235 QProperty<QVariantMap> m_airspaces;
239 std::vector<QPropertyNotifier> notifiers;
Cache relating geometric and barometric altitude information.
QML base class for lateral airspace view.
QString track
Track string.
QBindable< QVariantMap > bindableAirspaces() const
Getter method for property with the same name.
QString error
Error string.
QString error() const
Getter method for property with the same name.
QBindable< QPolygonF > bindableTerrain() const
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.
QVariantMap airspaces
Airspace polygons.
QBindable< QString > bindableError() const
Getter method for property with the same name.
QPointF ownshipPosition
Position of the own aircraft.
QPointF fiveMinuteBar
5-Minute-Bar
QPointF ownshipPosition() const
Getter method for property with the same name.
QPolygonF terrain
Terrain polygons.
double pixelPer10km() const
Getter method for property with the same name.
QBindable< QPointF > bindableOwnshipPosition() const
Getter method for property with the same name.
QBindable< double > bindablePixelPer10km()
Getter method for property with the same name.
QBindable< QString > bindableTrack() const
Getter method for property with the same name.
QPointF fiveMinuteBar() const
Getter method for property with the same name.
double pixelPer10km
Map scale.
QPolygonF terrain() const
Getter method for property with the same name.
QBindable< QPointF > bindableFiveMinuteBar() const
Getter method for property with the same name.