enabled: webView.canGoForward
}
+
+ TextField {
+ function go_to() {
+ if (length > 0) {
+ webView.url = text
+ clear()
+ }
+ }
+
+ id: urlText
+ Layout.fillWidth: true
+ selectByMouse: true
+ placeholderText: "URL"
+ onEditingFinished: go_to()
+ inputMethodHints: Qt.ImhNoAutoUppercase
+ }
+
TextField {
function search() {
if (length > 0) {
}
}
- id: urlText
+ id: searchText
Layout.fillWidth: true
selectByMouse: true
placeholderText: "Google"