From 82831c9b847e82bd8410a6a414885268d2253756 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Mon, 11 Sep 2017 14:23:53 +0200 Subject: remove ugly search UI --- components/kube/contents/ui/Kube.qml | 44 ------------------------------------ 1 file changed, 44 deletions(-) (limited to 'components') diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml index 5c3f00eb..1a0847fa 100644 --- a/components/kube/contents/ui/Kube.qml +++ b/components/kube/contents/ui/Kube.qml @@ -128,13 +128,6 @@ Controls2.ApplicationWindow { spacing: Kube.Units.largeSpacing - Kube.Units.smallSpacing - Kube.IconButton { - iconName: Kube.Icons.search_inverted - onClicked: search.open() - activeFocusOnTab: true - tooltip: qsTr("search") - } - Kube.IconButton { id: composerButton iconName: Kube.Icons.edit_inverted @@ -312,41 +305,4 @@ Controls2.ApplicationWindow { } } //END Notification - - //BEGIN Search - Kube.Popup { - id: search - - width: app.width * 0.6 - height: Kube.Units.gridUnit * 3 - - x: app.width * 0.2 - y: app.height * 0.2 - - RowLayout { - anchors.centerIn: parent - width: parent.width - - Kube.TextField { - id: searchField - focus: true - Layout.fillWidth: true - placeholderText: qsTr("Filter... (only applies to the mail list for now)") - Keys.onReturnPressed: { - Kube.Fabric.postMessage(Kube.Messages.search, {"filterString": searchField.text}) - search.close() - } - } - - Kube.Button { - text: qsTr("Go") - - onClicked: { - Kube.Fabric.postMessage(Kube.Messages.search, {"filterString": searchField.text}) - search.close() - } - } - } - } - //END Search } -- cgit v1.2.3