diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2019-11-05 12:51:02 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2019-12-03 13:40:15 +0100 |
commit | 463898f0765b83f6c391f6802a0ee06796f9f6d2 (patch) | |
tree | 33942968476b73d725d268dca12cb5249081ac9a /tests/auto/accessibility/data/override/rangeslider.qml | |
parent | 8ee511bcd9f1376e9995ab3f30f6415ad60b7c05 (diff) |
Respect user-set Accessible.name
Check if the user has set Accessible.name before setting it to the
control's text/title/etc.
Fixes: QTBUG-66583
Change-Id: I8b2c8ab3f8a8ae8e76c8e6a241260b7f90eca254
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests/auto/accessibility/data/override/rangeslider.qml')
-rw-r--r-- | tests/auto/accessibility/data/override/rangeslider.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/accessibility/data/override/rangeslider.qml b/tests/auto/accessibility/data/override/rangeslider.qml new file mode 100644 index 00000000..8758a19f --- /dev/null +++ b/tests/auto/accessibility/data/override/rangeslider.qml @@ -0,0 +1,13 @@ +import QtQuick 2.12 +import QtQuick.Controls 2.12 + +RangeSlider { + from: 0 + to: 100 + first.value: 25 + second.value: 75 + stepSize: 1 + orientation: Qt.Horizontal + + Accessible.name: "RangeSliderOverride" +} |