diff options
Diffstat (limited to 'src/quickcontrols')
13 files changed, 2 insertions, 1 deletions
diff --git a/src/quickcontrols/ios/Switch.qml b/src/quickcontrols/ios/Switch.qml index 93afe9092a..9d02c6e219 100644 --- a/src/quickcontrols/ios/Switch.qml +++ b/src/quickcontrols/ios/Switch.qml @@ -35,7 +35,8 @@ T.Switch { states: [ {"light": Application.styleHints.colorScheme === Qt.Light}, {"dark": Application.styleHints.colorScheme === Qt.Dark}, - {"checked": control.checked} + {"checked": control.checked}, + {"highcontrast": Application.styleHints.accessibility.contrastPreference === Qt.HighContrast} ] } diff --git a/src/quickcontrols/ios/images/switch-indicator-checked-dark-highcontrast.png b/src/quickcontrols/ios/images/switch-indicator-checked-dark-highcontrast.png Binary files differnew file mode 100644 index 0000000000..f2ebde954a --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-checked-dark-highcontrast.png diff --git a/src/quickcontrols/ios/images/switch-indicator-checked-dark-highcontrast@2x.png b/src/quickcontrols/ios/images/switch-indicator-checked-dark-highcontrast@2x.png Binary files differnew file mode 100644 index 0000000000..53e56c72f5 --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-checked-dark-highcontrast@2x.png diff --git a/src/quickcontrols/ios/images/switch-indicator-checked-dark-highcontrast@3x.png b/src/quickcontrols/ios/images/switch-indicator-checked-dark-highcontrast@3x.png Binary files differnew file mode 100644 index 0000000000..57ee35683b --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-checked-dark-highcontrast@3x.png diff --git a/src/quickcontrols/ios/images/switch-indicator-checked-light-highcontrast.png b/src/quickcontrols/ios/images/switch-indicator-checked-light-highcontrast.png Binary files differnew file mode 100644 index 0000000000..7d61d8ce2c --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-checked-light-highcontrast.png diff --git a/src/quickcontrols/ios/images/switch-indicator-checked-light-highcontrast@2x.png b/src/quickcontrols/ios/images/switch-indicator-checked-light-highcontrast@2x.png Binary files differnew file mode 100644 index 0000000000..5532073093 --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-checked-light-highcontrast@2x.png diff --git a/src/quickcontrols/ios/images/switch-indicator-checked-light-highcontrast@3x.png b/src/quickcontrols/ios/images/switch-indicator-checked-light-highcontrast@3x.png Binary files differnew file mode 100644 index 0000000000..0d86bc715d --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-checked-light-highcontrast@3x.png diff --git a/src/quickcontrols/ios/images/switch-indicator-dark-highcontrast.png b/src/quickcontrols/ios/images/switch-indicator-dark-highcontrast.png Binary files differnew file mode 100644 index 0000000000..fecd0fcc84 --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-dark-highcontrast.png diff --git a/src/quickcontrols/ios/images/switch-indicator-dark-highcontrast@2x.png b/src/quickcontrols/ios/images/switch-indicator-dark-highcontrast@2x.png Binary files differnew file mode 100644 index 0000000000..982e3e64f8 --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-dark-highcontrast@2x.png diff --git a/src/quickcontrols/ios/images/switch-indicator-dark-highcontrast@3x.png b/src/quickcontrols/ios/images/switch-indicator-dark-highcontrast@3x.png Binary files differnew file mode 100644 index 0000000000..b951beca2d --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-dark-highcontrast@3x.png diff --git a/src/quickcontrols/ios/images/switch-indicator-light-highcontrast.png b/src/quickcontrols/ios/images/switch-indicator-light-highcontrast.png Binary files differnew file mode 100644 index 0000000000..926dd1fead --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-light-highcontrast.png diff --git a/src/quickcontrols/ios/images/switch-indicator-light-highcontrast@2x.png b/src/quickcontrols/ios/images/switch-indicator-light-highcontrast@2x.png Binary files differnew file mode 100644 index 0000000000..565deaf251 --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-light-highcontrast@2x.png diff --git a/src/quickcontrols/ios/images/switch-indicator-light-highcontrast@3x.png b/src/quickcontrols/ios/images/switch-indicator-light-highcontrast@3x.png Binary files differnew file mode 100644 index 0000000000..59a7f06289 --- /dev/null +++ b/src/quickcontrols/ios/images/switch-indicator-light-highcontrast@3x.png |
