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:
Lubomir I. Ivanov 2017-07-20 16:58:21 +03:00 committed by Dirk Hohndel
parent b7c4a7fbfc
commit 70a8402911
3 changed files with 14 additions and 0 deletions

View file

@ -137,4 +137,8 @@ Item {
}
}
}
MapWidgetContextMenu {
id: contextMenu
}
}

View file

@ -0,0 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.7
Item {
Rectangle {
width: 100; height: width
color: "white"
}
}

View file

@ -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>