diff options
author | Bea Lam <bea.lam@nokia.com> | 2012-08-27 13:13:36 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-28 01:51:14 +0200 |
commit | c2f2ae8ce90e621cc3835428c40c116fbdc593e6 (patch) | |
tree | 2c165bb71cf66271ed31b940adb948a181ce0127 /src/quick/items | |
parent | aca4525ff56709044500ba2eaa8083ed12da9008 (diff) |
Improve docs related to visual parent concept
Change-Id: I73cc63c8a55cf949b94a2fa502cb331fb8adbda3
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'src/quick/items')
-rw-r--r-- | src/quick/items/qquickitem.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp index 425232996e..2e9ee262d7 100644 --- a/src/quick/items/qquickitem.cpp +++ b/src/quick/items/qquickitem.cpp @@ -1914,10 +1914,20 @@ QQuickItem::~QQuickItem() /*! \qmlproperty Item QtQuick2::Item::parent This property holds the visual parent of the item. + + \note The concept of the \e {visual parent} differs from that of the + \e {QObject parent}. An item's visual parent may not necessarily be the + same as its object parent. See \l {Concepts - Visual Parent in Qt Quick} + for more details. */ /*! \property QQuickItem::parent This property holds the visual parent of the item. + + \note The concept of the \e {visual parent} differs from that of the + \e {QObject parent}. An item's visual parent may not necessarily be the + same as its object parent. See \l {Concepts - Visual Parent in Qt Quick} + for more details. */ QQuickItem *QQuickItem::parentItem() const { |