From 04fad1fc554efcf3cfb92cf1d6c223169d6a9342 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Tue, 21 Jan 2014 16:05:27 +0100 Subject: Doc: note about visible and enabled in PropertyChanges Change-Id: I0928737f1651fa98213a84dc4f8b5225d5239502 Reviewed-by: Jens Bache-Wiig --- src/quick/util/qquickpropertychanges.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/quick/util/qquickpropertychanges.cpp b/src/quick/util/qquickpropertychanges.cpp index 148c55bbcb..9eb6ec70c3 100644 --- a/src/quick/util/qquickpropertychanges.cpp +++ b/src/quick/util/qquickpropertychanges.cpp @@ -127,6 +127,11 @@ QT_BEGIN_NAMESPACE See the PropertyAction documentation for more details. + \note The \l{Item::}{visible} and \l{Item::}{enabled} properties of \l Item do not behave + exactly the same as other properties in PropertyChanges. Since these properties can be + changed implicitly through their parent's state, they should be set explicitly in all PropertyChanges. + An item will still not be enabled/visible if one of its parents is not enabled or visible. + \sa {declarative/animation/states}{states example}, {Qt Quick States}{Qt Quick States}, {Qt QML} */ -- cgit v1.2.3