diff options
author | Marcel Schuette <marcel.schuette@pelagicore.com> | 2013-08-22 13:41:40 +0200 |
---|---|---|
committer | Marcel Schuette <marcel.schuette@pelagicore.com> | 2013-08-22 13:41:40 +0200 |
commit | 3a9f75d1ea0bda869cad404b1dacc782f0c6e386 (patch) | |
tree | 2cb773a15e7e7f707b2cc69720d72c46882e05c4 /testapp | |
parent | eee65c8a8368015cc5c4ebf2291f7310056dae7f (diff) | |
download | browser-poc-3a9f75d1ea0bda869cad404b1dacc782f0c6e386.tar.gz |
tested and fixed getContentSize
Diffstat (limited to 'testapp')
-rw-r--r-- | testapp/qml/testapp/WebPageWindow.qml | 28 |
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 |