From 70a8402911dfe0659cdaca7f83f00e42116fdbec Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Thu, 20 Jul 2017 16:58:21 +0300 Subject: 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 --- mobile-widgets/qml/MapWidget.qml | 4 ++++ mobile-widgets/qml/MapWidgetContextMenu.qml | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 mobile-widgets/qml/MapWidgetContextMenu.qml (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 345288d25..5310bb4d6 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -137,4 +137,8 @@ Item { } } } + + MapWidgetContextMenu { + id: contextMenu + } } diff --git a/mobile-widgets/qml/MapWidgetContextMenu.qml b/mobile-widgets/qml/MapWidgetContextMenu.qml new file mode 100644 index 000000000..f26a700f7 --- /dev/null +++ b/mobile-widgets/qml/MapWidgetContextMenu.qml @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 +import QtQuick 2.7 + +Item { + Rectangle { + width: 100; height: width + color: "white" + } +} -- cgit v1.2.3-70-g09d2