id: urlText
Layout.fillWidth: true
selectByMouse: true
- onEditingFinished: webView.url = urlText.text
+ onEditingFinished: {
+ webView.url = "https://www.google.com/search?ie=UTF-8&q=" + urlText.text
+ clear()
+ }
}
ToolButton {
+ id: reload
text: qsTr("↻")
onClicked: webView.reload()
}
+
+ ToolButton {
+ id: stop
+ text: qsTr("×")
+ onClicked: webView.url = "http://localhost/"
+ }
}
}
anchors.top: toolBar.bottom
anchors.right: parent.right
anchors.bottom: inputPanel.top
- onUrlChanged: urlText.text = webView.url
+ //onUrlChanged: urlText.text = webView.url
}
InputPanel {