}
TextField {
+ function search() {
+ if (length > 0) {
+ webView.url = "https://www.google.com/search?ie=UTF-8&q=" + text
+ clear()
+ }
+ }
+
id: urlText
Layout.fillWidth: true
selectByMouse: true
- onEditingFinished: {
- webView.url = "https://www.google.com/search?ie=UTF-8&q=" + urlText.text
- clear()
- }
+ onEditingFinished: search()
}
ToolButton {