34 #ifndef MODELMAPPROXY_H
35 #define MODELMAPPROXY_H
40 #include <QItemSelectionModel>
42 #include "../pathplanner/flightdatamodel.h"
44 using namespace mapcontrol;
63 QItemSelectionModel *selectionModel);
72 void deleteWayPoint(
int number);
79 void dataChanged(
const QModelIndex &topLeft,
const QModelIndex &bottomRight);
82 void rowsInserted(
const QModelIndex &parent,
int first,
int last);
85 void rowsRemoved(
const QModelIndex &parent,
int first,
int last);
91 void currentRowChanged(QModelIndex, QModelIndex);
97 overlayType overlayTranslate(
int type);
104 void refreshOverlays();
105 QItemSelectionModel *selection;
108 #endif // MODELMAPPROXY_H
The ModelMapProxy class maps from the FlightDataModel to the OPMap and provides synchronization, both when the model changes updating the UI and if it is modified on the UI propagating changes to the model.
A QGraphicsItem representing a WayPoint.