MapWidget.qml: reference the Map object in the MapWidgetHelper object
The idea here is that the Map object can be controlled from C++ via the "m_map" private member. Also, for the mobile version, QML code can call the same C++ methods (if marked as Q_INVOCABLE). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
118a3b9804
commit
5266a5e84b
@ -14,6 +14,7 @@ Item {
|
||||
|
||||
MapWidgetHelper {
|
||||
id: mapHelper
|
||||
map: map
|
||||
}
|
||||
|
||||
Map {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user