aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-10-09 10:59:46 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-10-19 14:51:42 +0000
commit688fa090571c3dac5184bd05a459cb8467d3d6df (patch)
tree4e53fad156702554cf114581183182d18c8b430c
parentd08bce267f2d7cba474a05d73869bc99fbd8d971 (diff)
Doc: mention that clipping can affect performance and link to page
Change-Id: I85e60dd5c8643a8e443a14250987b2b38c78dc08 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit c1c01e21d1a745eccb17d61e10d7f8a4d54d3a43) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/quick/items/qquickitem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp
index b5185efd54..67c4611d9e 100644
--- a/src/quick/items/qquickitem.cpp
+++ b/src/quick/items/qquickitem.cpp
@@ -3695,6 +3695,9 @@ QList<QQuickItem *> QQuickItem::childItems() const
as the painting of its children, to its bounding rectangle. If you set
clipping during an item's paint operation, remember to re-set it to
prevent clipping the rest of your scene.
+
+ \note Clipping can affect rendering performance. See \l {Clipping} for more
+ information.
*/
bool QQuickItem::clip() const
{