diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-17 22:24:30 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | d7839844431a4ffab9050a9194b9f3e9fdd51118 (patch) | |
tree | 7b468331e7b39b9dcd2a95d5267d844cfffa9dcb /qt-models/divelistmodel.cpp | |
parent | f4e6df475e1cfd93dc0d73287ec6a5113b5eb176 (diff) | |
download | subsurface-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/divelistmodel.cpp')
0 files changed, 0 insertions, 0 deletions