diff options
Diffstat (limited to 'navit/gui/qt5_qml/skins/modern/maps.qml')
-rw-r--r-- | navit/gui/qt5_qml/skins/modern/maps.qml | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/navit/gui/qt5_qml/skins/modern/maps.qml b/navit/gui/qt5_qml/skins/modern/maps.qml deleted file mode 100644 index 2eab6798d..000000000 --- a/navit/gui/qt5_qml/skins/modern/maps.qml +++ /dev/null @@ -1,45 +0,0 @@ -import QtQuick 2.0 - -ListView { - id: list - model: backend.maps - delegate: Item { - height: 64 - width: parent.width; - Rectangle { - color: "#1e1b18" - height: parent.height; - width: parent.width; - border.width: 1 - - Image { - id: image1 - height: parent.height - 4; - source : active ? "icons/appbar.layer.svg" : "icons/appbar.layer.delete.svg" - opacity: active ? 1 : 0.1 - } - - Text { - text: name - color: "#ffffff" - anchors.verticalCenter: parent.verticalCenter - anchors.left: image1.right - anchors.leftMargin: 8 - } - - MouseArea { - id: mouse_area1 - z: 1 - hoverEnabled: false - anchors.fill: parent - - onClicked:{ - list.currentIndex = index - console.log("test " + index); - } - } - } - } - - Component.onCompleted: backend.get_maps() -} |