summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview/autosize.qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-08-28 00:32:25 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-08-28 00:32:25 (GMT)
commite1b84c98ed843b6857c8b98fa52954cd0695eb3b (patch)
tree6ff92cc26737b7a3c77aa530ae402be730b43788 /examples/declarative/webview/autosize.qml
parent79d5daab124e98880fe0847c19cad4def672870b (diff)
downloadQt-e1b84c98ed843b6857c8b98fa52954cd0695eb3b.zip
Qt-e1b84c98ed843b6857c8b98fa52954cd0695eb3b.tar.gz
Qt-e1b84c98ed843b6857c8b98fa52954cd0695eb3b.tar.bz2
Changes as per review.
WebView: idealWidth -> preferredWidth (as per QSizePolicy) WebView: idealHeight -> preferredHeight WebView: status -> statusText WebView: mouseX -> clickX (parameter to onDoubleClick) WebView: mouseY -> clickY (parameter to onDoubleClick) WebView: cacheSize -> pixelCacheSize (may later go away) WebView: lost "interactive" property (always true now)
Diffstat (limited to 'examples/declarative/webview/autosize.qml')
-rw-r--r--examples/declarative/webview/autosize.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/declarative/webview/autosize.qml b/examples/declarative/webview/autosize.qml
index 13004a8..dbd94e1 100644
--- a/examples/declarative/webview/autosize.qml
+++ b/examples/declarative/webview/autosize.qml
@@ -1,7 +1,7 @@
import Qt 4.6
// The WebView size is determined by the width, height,
-// idealWidth, and idealHeight properties.
+// preferredWidth, and preferredHeight properties.
Rectangle {
id: Rect
color: "white"
@@ -34,16 +34,16 @@ Rectangle {
}
}
WebView {
- idealWidth: Rect.width/2
- html: "The idealWidth is half."
+ preferredWidth: Rect.width/2
+ html: "The preferredWidth is half."
Rectangle {
color: "#10000000"
anchors.fill: parent
}
}
WebView {
- idealWidth: Rect.width/2
- html: "The_idealWidth_is_half."
+ preferredWidth: Rect.width/2
+ html: "The_preferredWidth_is_half."
Rectangle {
color: "#10000000"
anchors.fill: parent