anchors.right: parent.right
RowLayout {
+ anchors.fill: parent
ToolButton {
text: qsTr("←")
enabled: webView.canGoForward
}
+ TextField {
+ id: urlText
+ Layout.fillWidth: true
+ selectByMouse: true
+ onEditingFinished: webView.url = urlText.text
+ }
+
ToolButton {
text: qsTr("↻")
onClicked: webView.reload()
}
-
- Label {
- id: urlText
- }
}
}
WebEngineView {
id: webView
- url: "https://google.cz/"
+ url: "http://localhost/"
anchors.left: parent.left
anchors.top: toolBar.bottom
anchors.right: parent.right