aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/src/appdevguide
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-07-19 11:05:30 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-20 03:43:09 +0200
commitb8c80243abc4f96e31243bf04dc29318fae61864 (patch)
treeaf56503612279e2767c53f4b2028aec8cc29850d /src/quick/doc/src/appdevguide
parentbd618f62d8d796638ee72374a0fcdfd6c6b7aa97 (diff)
Mention opacity property change in porting.qdoc
Change-Id: I09343469bebcd7324ae1596d408cafea69c5dc60 Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src/quick/doc/src/appdevguide')
-rw-r--r--src/quick/doc/src/appdevguide/porting.qdoc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/quick/doc/src/appdevguide/porting.qdoc b/src/quick/doc/src/appdevguide/porting.qdoc
index 2f2788034b..eb1bb63db9 100644
--- a/src/quick/doc/src/appdevguide/porting.qdoc
+++ b/src/quick/doc/src/appdevguide/porting.qdoc
@@ -73,6 +73,20 @@ for examples.
Graphics View framework backend used in QtQuick 1.
\endlist
+\section 2 Behavioral Changes
+
+There are many behavioral changes caused in the transition and you should thoroughly test your applications after
+porting. These changes will not necessarily lead to run-time errors, but may break certain assumptions in your code.
+Here is a list of some more prominent changes:
+
+\list
+\li The input handling details of \l{Item::}{opacity} and \l{Item::}{visible} have changed. An opacity of zero no
+longer affects input handling, where previously it stopped mouse input. A visibility of false no longer affects
+keyboard input, but still stops mouse input. The new \l{Item::}{enabled} property stops mouse and keyboard input, but does not affect how or whether
+the item is rendered. A workaround for applying the old behavior in most cases is to bind enabled to (visible &&
+opacity > 0.0).
+\endlist
+
\section2 Changes to experimental Qt.labs modules
\list