diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-02-13 23:29:42 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-13 23:29:42 -0800 |
commit | e4d27f27f015e52ce65c7adad22497843169fadb (patch) | |
tree | f4731b535ebb7f1188e4b0d87b047aa7874c5661 /qt-mobile | |
parent | 464d468b758ac169b1c8aaef1327561b5349a54e (diff) | |
download | subsurface-e4d27f27f015e52ce65c7adad22497843169fadb.tar.gz |
QML UI: remove disabled parts of the top bar
I guess we are going with the Plasma Mobile influenced design after all
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qml/TopBar.qml | 117 |
1 files changed, 0 insertions, 117 deletions
diff --git a/qt-mobile/qml/TopBar.qml b/qt-mobile/qml/TopBar.qml index ad36c9d53..c251687e6 100644 --- a/qt-mobile/qml/TopBar.qml +++ b/qt-mobile/qml/TopBar.qml @@ -25,33 +25,6 @@ Rectangle { anchors.leftMargin: MobileComponents.Units.smallSpacing anchors.right: topPart.right anchors.rightMargin: MobileComponents.Units.smallSpacing -/* remove hamburger menu - Item { - id: mainMenu - anchors.left: parent.left - Layout.preferredHeight: mainMenuIcon.height - width: mainMenuIcon.width - Image { - id: mainMenuIcon - source: "qrc:/qml/main-menu.png" - width: Math.round(MobileComponents.Units.gridUnit * 1.5) - height: width - anchors { - top: parent.top - topMargin: MobileComponents.Units.smallSpacing * -1 - leftMargin: MobileComponents.Units.smallSpacing - - } - } - MouseArea { - height: parent.height - width: parent.width - onClicked: { - globalDrawer.open() - } - } - } - */ Item { Layout.preferredHeight: subsurfaceLogo.height Image { @@ -83,95 +56,5 @@ Rectangle { Item { Layout.fillWidth: true } -/* remove edit button - Item { - id: editButton - anchors.right: backButton.visible ? backButton.left : contextDrawer.enabled ? contextMenu.left : parent.right - anchors.top: parent.top - Layout.preferredHeight: editButtonIcon.height - width: editButtonIcon.width - visible: detailsWindow.state === "view" && detailsWindow.visible - Image { - id: editButtonIcon - source: "qrc:/qml/menu-edit.png" - anchors { - top: parent.top - right: parent.right - topMargin: MobileComponents.Units.smallSpacing * -1 - rightMargin: MobileComponents.Units.smallSpacing - } - width: Math.round(MobileComponents.Units.gridUnit * 1.7) - height: width - } - MouseArea { - height: parent.height - width: parent.width - onClicked: { - detailsWindow.startEditMode() - } - } - } - */ - /* remove back button - Item { - id: backButton - anchors.right: contextDrawer.enabled ? contextMenu.left : parent.right - anchors.top: parent.top - Layout.preferredHeight: backButtonIcon.height - width: backButtonIcon.width - visible: logWindow.visible || themetest.visible || detailsWindow.visible - Image { - id: backButtonIcon - source: "qrc:/qml/menu-back.png" - anchors { - top: parent.top - right: parent.right - topMargin: MobileComponents.Units.smallSpacing * -1 - rightMargin: MobileComponents.Units.smallSpacing - } - width: Math.round(MobileComponents.Units.gridUnit * 1.7) - height: width - } - MouseArea { - height: parent.height - width: parent.width - onClicked: { - if (detailsWindow.state === "view" || logWindow.visible || themetest.visible) - stackView.pop() - if (detailsWindow.state === "edit") - detailsWindow.endEditMode() - } - } - } - */ -/* remove context menu - Item { - id: contextMenu - visible: contextDrawer.enabled - anchors.right: parent.right - anchors.top: parent.top - Layout.preferredHeight: contextMenuIcon.height - width: contextMenuIcon.width - Image { - id: contextMenuIcon - source: "qrc:/qml/context-menu.png" - width: Math.round(MobileComponents.Units.gridUnit * 1.5) - height: width - anchors { - top: parent.top - right: parent.right - topMargin: MobileComponents.Units.smallSpacing * -1 - rightMargin: MobileComponents.Units.smallSpacing - } - } - MouseArea { - height: parent.height - width: parent.width - onClicked: { - contextDrawer.open() - } - } - } - */ } } |