mapwidgetcontextmenu: add placeholder QML
This QML component will be used to provide a context menu for the QML map widget. Include the file in QRC and test it's creation in MapWidget.qml. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
b7c4a7fbfc
commit
70a8402911
@ -137,4 +137,8 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MapWidgetContextMenu {
|
||||
id: contextMenu
|
||||
}
|
||||
}
|
||||
|
||||
9
mobile-widgets/qml/MapWidgetContextMenu.qml
Normal file
9
mobile-widgets/qml/MapWidgetContextMenu.qml
Normal file
@ -0,0 +1,9 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
import QtQuick 2.7
|
||||
|
||||
Item {
|
||||
Rectangle {
|
||||
width: 100; height: width
|
||||
color: "white"
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,7 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file alias="MapWidget.qml">mobile-widgets/qml/MapWidget.qml</file>
|
||||
<file alias="MapWidgetContextMenu.qml">mobile-widgets/qml/MapWidgetContextMenu.qml</file>
|
||||
<file alias="mapwidget-marker">mobile-widgets/qml/icons/mapwidget-marker.png</file>
|
||||
<file alias="mapwidget-marker-selected">mobile-widgets/qml/icons/mapwidget-marker-selected.png</file>
|
||||
<file alias="mapwidget-toggle-satellite">mobile-widgets/qml/icons/mapwidget-toggle-satellite.png</file>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user