aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-06-10 08:31:51 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-06-10 12:14:20 +0200
commitde66c7e6c4ae03d1da2225dc443a028bf5f6e722 (patch)
treece957042805c316fe2d270e7d4e5c95771299408 /src/quicktemplates2
parentfb6baf03faf1ffdda5917b9daa9e9ed0f821fa8a (diff)
doc: move the SelectionRectangle snippet to correct the place
After the cmake changes that restructured the repository, the snippets are now located in a different place. Update the documentation for SelectionRectangle to reflect this, and correct some related documentation issues at the same time. Change-Id: I4860973bf101dc6c2dce5f64822235f0b5b73ce6 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'src/quicktemplates2')
-rw-r--r--src/quicktemplates2/qquickselectionrectangle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quicktemplates2/qquickselectionrectangle.cpp b/src/quicktemplates2/qquickselectionrectangle.cpp
index fbde94f4..5910e16b 100644
--- a/src/quicktemplates2/qquickselectionrectangle.cpp
+++ b/src/quicktemplates2/qquickselectionrectangle.cpp
@@ -68,7 +68,7 @@ QT_BEGIN_NAMESPACE
The following example shows how you can make a SelectionRectangle target
a TableView:
- \snippet qml/tableview/selectionmodel.qml 0
+ \snippet qtquickcontrols2-selectionrectangle.qml 0
\note A SelectionRectangle itself is not shown as part of a selection. Only the
delegates (like topLeftHandle and bottomRightHandle) are used.
@@ -109,7 +109,7 @@ QT_BEGIN_NAMESPACE
top-left corner of the selection rectangle. When a handle is
provided, the user can drag it to adjust the selection.
- You can set this property to \c null if you don't want a top-left selection handle.
+ Set this property to \c null if you don't want a selection handle on the top-left.
\sa bottomRightHandle
*/
@@ -121,7 +121,7 @@ QT_BEGIN_NAMESPACE
top-left corner of the selection rectangle. When a handle is
provided, the user can drag it to adjust the selection.
- You can set this property to \c null if you don't want a top-left selection handle.
+ Set this property to \c null if you don't want a selection handle on the bottom-right.
\sa topLeftHandle
*/