Online services accept a QML delegate for rendering/interaction.
author Dennis Nienhüser
()
committer Dennis Nienhüser
()
commit d3bcbc11a6b2a32017d8b8a3b232c938369a9b3c
tree 61249479225ea73ea062fdde380c672558dd156f
parent 4cdef7c474f2946df64d12ecc7aa33beb5d5c745
Online services accept a QML delegate for rendering/interaction.

A QML component can be registered to take over the rendering of the
layer. The C++ part takes care of the lifetime and positioning of the
items, QML is responsible for rendering and interaction. All item
properties (read: Q_PROPERTY ones) are available in the QML context
of each item under their names (context object).

Note that due to the separate rendering, the QML layer is painted on
top of other items rendered by C++/GeoPainter, e.g. float items.
src/lib/AbstractDataPlugin.cpp
src/lib/AbstractDataPlugin.h
src/lib/CMakeLists.txt
src/lib/graphicsview/GeoGraphicsItem.cpp
src/lib/graphicsview/GeoGraphicsItem.h