dRonin
adbada4
dRonin GCS
|
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. More...
#include <modelmapproxy.h>
Public Member Functions | |
ModelMapProxy (QObject *parent, TLMapWidget *map, FlightDataModel *model, QItemSelectionModel *selectionModel) | |
WayPointItem * | findWayPointNumber (int number) |
Get the handle to a waypoint graphical item. More... | |
void | createWayPoint (internals::PointLatLng coord) |
When a waypoint is created graphically, insert into the end of the model. More... | |
void | deleteWayPoint (int number) |
When a waypoint is deleted graphically, delete from the model. More... | |
void | deleteAll () |
When all the waypoints are deleted graphically, update the model. More... | |
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.
Definition at line 51 of file modelmapproxy.h.