aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/divecomputermodel.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-17 22:24:30 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commitd7839844431a4ffab9050a9194b9f3e9fdd51118 (patch)
tree7b468331e7b39b9dcd2a95d5267d844cfffa9dcb /qt-models/divecomputermodel.h
parentf4e6df475e1cfd93dc0d73287ec6a5113b5eb176 (diff)
downloadsubsurface-d7839844431a4ffab9050a9194b9f3e9fdd51118.tar.gz
mapwidget.qml: implement the MapItemView with delegate
MapItemView is the QML class that handles the "create map markers based on a model". In this case the model is created as part of the MapWidgetHelper, so here passing "mapHelper.model" to the "model" property is enough. The delegate receives coordinates from the model as "model.latitude", "model.logitude" and converts them to QGeoCoordinate. The "sourceItem" image for the delagete is just an image ATM and is fetched from QRC. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-models/divecomputermodel.h')
0 files changed, 0 insertions, 0 deletions