36class SideviewQuickItem :
public QQuickItem
39 QML_NAMED_ELEMENT(SideviewQuickItem)
42 explicit SideviewQuickItem(QQuickItem *parent =
nullptr);
44 ~SideviewQuickItem()
override =
default;
121 QVariantMap
airspaces()
const {
return m_airspaces.value();}
133 QString
error()
const {
return m_error.value();}
187 QString
track()
const {
return m_track.value();}
199 QPolygonF
terrain()
const {
return m_terrain.value();}
213 QElapsedTimer m_elapsedTimer;
215 static constexpr int minimumUpdateInterval_ms = 700;
218 void updateProperties();
221 QProperty<QString> m_error;
223 QProperty<QString> m_track;
225 QProperty<double> m_pixelPer10km;
227 QProperty<QPointF> m_ownshipPosition;
229 QProperty<QPointF> m_fiveMinuteBar;
231 QProperty<QPolygonF> m_terrain;
233 QProperty<QVariantMap> m_airspaces;
235 std::vector<QPropertyNotifier> notifiers;
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.