diff options
Diffstat (limited to 'navit/gui/qt5_qml/editor/main.qml')
-rw-r--r-- | navit/gui/qt5_qml/editor/main.qml | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/navit/gui/qt5_qml/editor/main.qml b/navit/gui/qt5_qml/editor/main.qml deleted file mode 100644 index be7157513..000000000 --- a/navit/gui/qt5_qml/editor/main.qml +++ /dev/null @@ -1,59 +0,0 @@ -import QtQuick 2.7 -import QtQuick.Controls 2.0 -import QtQuick.Layouts 1.0 - -ApplicationWindow { - id: applicationWindow - visible: true - width: 800 - height: 480 - title: qsTr("Hello World 2") - - MouseArea { - id: mouseArea - z: -1 - anchors.fill: parent - onClicked: { - mainMenu.source = "skins/menu.qml" - mainMenu.state = 'visible' - console.log("showing menu") - } - - Image { - id: image - anchors.left: parent.left - anchors.rightMargin: 0 - anchors.bottom: parent.bottom - anchors.bottomMargin: 0 - source: "map.png" - } - - } - - Loader { - id: mainMenu - width: parent.width - height: parent.height - x: parent.width - opacity: 0 - - states: [ - State { - name: "visible" - PropertyChanges { - target: mainMenu - x: 0 - opacity: 1 - } - } - ] - transitions: [ - Transition { - NumberAnimation { - properties: "x,y,opacity";duration: 300 - } - } - ] - } - -} |