aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/doc/src/includes/container-currentindex.qdocinc
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols2/doc/src/includes/container-currentindex.qdocinc')
-rw-r--r--src/quickcontrols2/doc/src/includes/container-currentindex.qdocinc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/quickcontrols2/doc/src/includes/container-currentindex.qdocinc b/src/quickcontrols2/doc/src/includes/container-currentindex.qdocinc
new file mode 100644
index 0000000000..9fcf43e168
--- /dev/null
+++ b/src/quickcontrols2/doc/src/includes/container-currentindex.qdocinc
@@ -0,0 +1,9 @@
+//! [file]
+When \1 is paired with another container such as \l \2, it is
+necessary to make a two-way binding between the
+\l {Container::}{currentIndex} property
+of each control. To do this without breaking bindings, avoid setting
+\c currentIndex directly, and instead use
+\l {Container::}{setCurrentIndex()}, for example.
+See \l {Managing the Current Index} for more information.
+//! [file]