From: Jiří Matěják Date: Fri, 27 Apr 2018 16:34:45 +0000 (+0200) Subject: text formatted X-Git-Url: http://rtime.felk.cvut.cz/gitweb/coffee/mtbrowser.git/commitdiff_plain/fdf3c93b4a79c493cfbe786f4c59077891639637?hp=c4c0ae6a681140c452c50e9abad7827225cac118 text formatted --- diff --git a/main.qml b/main.qml index c07e693..b506842 100644 --- a/main.qml +++ b/main.qml @@ -68,13 +68,13 @@ Window { anchors.fill: parent ToolButton { - text: qsTr("←") + text: "←" onClicked: webView.goBack() enabled: webView.canGoBack } ToolButton { - text: qsTr("→") + text: "→" onClicked: webView.goForward() enabled: webView.canGoForward } @@ -90,19 +90,20 @@ Window { id: urlText Layout.fillWidth: true selectByMouse: true + placeholderText: "Google" onEditingFinished: search() inputMethodHints: Qt.ImhNoAutoUppercase } ToolButton { id: reload - text: qsTr("↻") + text: "↻" onClicked: webView.reload() } ToolButton { id: stop - text: qsTr("×") + text: "×" onClicked: webView.url = "http://localhost/" } } @@ -116,6 +117,7 @@ Window { anchors.right: parent.right anchors.bottom: inputPanel.top //onUrlChanged: urlText.text = webView.url + } InputPanel {