aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/doc/src/includes/container-currentindex.qdocinc
blob: 9fcf43e168abc4be6d7a5ff26db4a9f8de0a5fb7 (plain)
1
2
3
4
5
6
7
8
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]