dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
ModelMapProxy Class Reference

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>

Inheritance diagram for ModelMapProxy:

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...
 

Detailed Description

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.


The documentation for this class was generated from the following files: