aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-10-09 10:59:46 +0200
committerMitch Curtis <mitch.curtis@qt.io>2020-10-19 15:13:56 +0200
commitc1c01e21d1a745eccb17d61e10d7f8a4d54d3a43 (patch)
tree59b51275390c0db7016c6ec1e7ceb330266f68a6 /src
parent765878539587626f2793c5eb454d57ec3c9f1ae9 (diff)
Doc: mention that clipping can affect performance and link to page
Pick-to: 5.15 5.12 Change-Id: I85e60dd5c8643a8e443a14250987b2b38c78dc08 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src')
-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 ac0d4389e1..e7104b4361 100644
--- a/src/quick/items/qquickitem.cpp
+++ b/src/quick/items/qquickitem.cpp
@@ -3706,6 +3706,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
{