aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/windows/RadioDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols/windows/RadioDelegate.qml')
-rw-r--r--src/quickcontrols/windows/RadioDelegate.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/quickcontrols/windows/RadioDelegate.qml b/src/quickcontrols/windows/RadioDelegate.qml
new file mode 100644
index 0000000000..e74e42350b
--- /dev/null
+++ b/src/quickcontrols/windows/RadioDelegate.qml
@@ -0,0 +1,12 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+import QtQuick.NativeStyle as NativeStyle
+
+NativeStyle.DefaultRadioDelegate {
+ contentItem: NativeStyle.DefaultItemDelegateIconLabel {
+ color: control.highlighted ? control.palette.button : control.palette.windowText
+
+ readonly property bool __ignoreNotCustomizable: true
+ }
+}