mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ Item {
|
|||
|
||||
MapWidgetHelper {
|
||||
id: mapHelper
|
||||
map: map
|
||||
}
|
||||
|
||||
Map {
|
||||
|
|
Loading…
Reference in a new issue