summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-01-24 04:09:59 (GMT)
committerMartin Jones <martin.jones@nokia.com>2011-01-24 04:09:59 (GMT)
commit44060d2129b461754f6bd86153889a869f12440a (patch)
treed6741dddf0866ccdf470408b4061067f3cdca578 /tests/auto/declarative
parent1f54c358fcc3eb53dc0cf689f59e2e6913dcf239 (diff)
downloadQt-44060d2129b461754f6bd86153889a869f12440a.zip
Qt-44060d2129b461754f6bd86153889a869f12440a.tar.gz
Qt-44060d2129b461754f6bd86153889a869f12440a.tar.bz2
Add list of new properties/methods in QtQuick 1.1
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r--tests/auto/declarative/qdeclarativeitem/data/implicitsize.qml19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeitem/data/implicitsize.qml b/tests/auto/declarative/qdeclarativeitem/data/implicitsize.qml
new file mode 100644
index 0000000..869c0fc
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeitem/data/implicitsize.qml
@@ -0,0 +1,19 @@
+import QtQuick 1.1
+
+Item {
+ implicitWidth: 200
+ implicitHeight: 100
+
+ width: 80
+ height: 60
+
+ function resetSize() {
+ width = undefined
+ height = undefined
+ }
+
+ function changeImplicit() {
+ implicitWidth = 150
+ implicitHeight = 80
+ }
+}