summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-03-09 15:42:45 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-03-10 17:20:23 +0000
commitfa0b47ec506d2fe8dad9e77d3ac1e6c5f060f310 (patch)
treee38b95849a15b6265144cd6499754b4d0100ac37
parente3eea0761899ffada4d61e36a1c4ed569eed0e62 (diff)
downloadqtquickcontrols-fa0b47ec506d2fe8dad9e77d3ac1e6c5f060f310.tar.gz
Desktop/GroupBoxStyle: set "grouping" accessible role on the style item
This allows QGtkStyle to check the role and do appropriate styling (bold font) for the label. Task-number: QTBUG-43736 Change-Id: Iba5491f25180371d160ee2b52936adaf72772c16 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
-rw-r--r--src/controls/Styles/Desktop/GroupBoxStyle.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/Styles/Desktop/GroupBoxStyle.qml b/src/controls/Styles/Desktop/GroupBoxStyle.qml
index 79f4f07e..33564e6e 100644
--- a/src/controls/Styles/Desktop/GroupBoxStyle.qml
+++ b/src/controls/Styles/Desktop/GroupBoxStyle.qml
@@ -69,5 +69,6 @@ Style {
properties: { "checkable" : control.checkable , "sunken" : !control.flat}
textureHeight: 128
border {top: 32 ; bottom: 8}
+ Accessible.role: Accessible.Grouping
}
}