diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-10-09 10:59:46 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-10-19 14:51:42 +0000 |
commit | 33753f56c7b60d896a13810180ccc1e8d5864903 (patch) | |
tree | dfec9604dcbbefa7cad439b65303b744a4008c80 /src | |
parent | 691fdba5ec537e8ebcd4f98a18fabb2731668ef8 (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>
Diffstat (limited to 'src')
-rw-r--r-- | src/quick/items/qquickitem.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp index 9e32ccfee9..2645ce97a6 100644 --- a/src/quick/items/qquickitem.cpp +++ b/src/quick/items/qquickitem.cpp @@ -3753,6 +3753,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 { |