summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/doc/qtcore.qdocconf2
-rw-r--r--src/corelib/doc/src/objectmodel/objecttrees.qdoc10
2 files changed, 9 insertions, 3 deletions
diff --git a/src/corelib/doc/qtcore.qdocconf b/src/corelib/doc/qtcore.qdocconf
index 6172799487..bfb473d65c 100644
--- a/src/corelib/doc/qtcore.qdocconf
+++ b/src/corelib/doc/qtcore.qdocconf
@@ -24,7 +24,7 @@ qhp.QtCore.subprojects.classes.sortPages = true
tagfile = ../../../doc/qtcore/qtcore.tags
-depends += qtgui qtwidgets qtnetwork qtdoc
+depends += qtgui qtwidgets qtnetwork qtdoc qtquick
headerdirs += ..
diff --git a/src/corelib/doc/src/objectmodel/objecttrees.qdoc b/src/corelib/doc/src/objectmodel/objecttrees.qdoc
index fd78a7cb22..f3b8864e7f 100644
--- a/src/corelib/doc/src/objectmodel/objecttrees.qdoc
+++ b/src/corelib/doc/src/objectmodel/objecttrees.qdoc
@@ -40,9 +40,15 @@
is deleted when the parent is. It turns out that this approach fits
the needs of GUI objects very well. For example, a \l QShortcut
(keyboard shortcut) is a child of the relevant window, so when the
- user closes that window, the shorcut is deleted too.
+ user closes that window, the shortcut is deleted too.
- \l QWidget, the base class of everything that appears on the screen,
+ \l QQuickItem, the basic visual element of the QtQuick module, inherits
+ from QObject, but has a concept of the \e {visual parent} which
+ 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.
+
+ \l QWidget, the fundamental class of the QtWidgets module,
extends the parent-child relationship. A child normally also becomes a
child widget, i.e. it is displayed in its parent's coordinate system
and is graphically clipped by its parent's boundaries. For example,