diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-09-08 10:13:34 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-09-10 15:25:25 +0000 |
commit | 34dcf20a0536ec7df4f847b16f03e6f66f308025 (patch) | |
tree | 4787089abdfaea7599180c4d7ef68e746d047c98 /src/controls/qquicktextarea_p.h | |
parent | 8a0135b82e9b354fe5304144a12c850c248f2a79 (diff) |
Add ExclusiveGroup::checkables
Exclusive checkables typically share the same parent item. For example,
a row or column positioner or layout. This change makes it convenient
to handle such cases so that one can add the whole list of children to
an exclusive group, without the need of creating any attached objects.
Column {
id: column
ExclusiveGroup {
id: eg
checkables: column.children
}
Switch { id: s1; text: qsTr("First") }
Switch { id: s2; text: qsTr("Second") }
Switch { id: s3; text: qsTr("Third") }
}
Last but not least, this allows breaking the C++ dependency between
QQuickTabBar and QQuickExclusiveGroup.
Change-Id: Ic75065b87ef8fa532f77118d740f04484994bbf0
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'src/controls/qquicktextarea_p.h')
0 files changed, 0 insertions, 0 deletions