summaryrefslogtreecommitdiff
path: root/testapp/qml/testapp/WebPageWindow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/qml/testapp/WebPageWindow.qml')
-rw-r--r--testapp/qml/testapp/WebPageWindow.qml28
1 files changed, 27 insertions, 1 deletions
diff --git a/testapp/qml/testapp/WebPageWindow.qml b/testapp/qml/testapp/WebPageWindow.qml
index 1b45735..3c19809 100644
--- a/testapp/qml/testapp/WebPageWindow.qml
+++ b/testapp/qml/testapp/WebPageWindow.qml
@@ -72,6 +72,11 @@ Item {
font.pixelSize: 20
text: "http://"
}
+ Text {
+ text: "url"
+ anchors.top: inputfieldurl.bottom
+ anchors.left: inputfieldurl.left
+ }
Button {
width: 130
height: inputfieldurl.height
@@ -117,7 +122,7 @@ Item {
GroupBox {
id: groupcontrolbuttons2
- title: "getVisible()/getGeometry()/getContentSize()/getBrowserActionsState()"
+ title: "getVisible()/getGeometry()/getContentSize()/getBrowserActionsState() "
width: 4 * 130 + 3 * 20 + 30
anchors.top: groupsetvisible.bottom
anchors.topMargin: 10
@@ -152,6 +157,7 @@ Item {
anchors.left: buttongetgeometry.right
anchors.leftMargin: 20
text: "Get ContentSize"
+ onClicked: browserinterface.getContentSize()
}
Button {
@@ -183,6 +189,11 @@ Item {
inputMask: "999"
text: "0"
}
+ Text {
+ text: "x"
+ anchors.top: inputfieldx.bottom
+ anchors.left: inputfieldx.left
+ }
TextField {
id: inputfieldy
width: 50
@@ -195,6 +206,11 @@ Item {
inputMask: "999"
text: "0"
}
+ Text {
+ text: "y"
+ anchors.top: inputfieldy.bottom
+ anchors.left: inputfieldy.left
+ }
TextField {
id: inputfieldwidth
width: 50
@@ -207,6 +223,11 @@ Item {
inputMask: "999"
text: "800"
}
+ Text {
+ text: "width"
+ anchors.top: inputfieldwidth.bottom
+ anchors.left: inputfieldwidth.left
+ }
TextField {
id: inputfieldheight
width: 50
@@ -219,6 +240,11 @@ Item {
inputMask: "999"
text: "520"
}
+ Text {
+ text: "height"
+ anchors.top: inputfieldheight.bottom
+ anchors.left: inputfieldheight.left
+ }
Button {
width: 130
height: inputfieldx.height