aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/palette/data/set-palette.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quickcontrols/palette/data/set-palette.qml')
-rw-r--r--tests/auto/quickcontrols/palette/data/set-palette.qml19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/palette/data/set-palette.qml b/tests/auto/quickcontrols/palette/data/set-palette.qml
new file mode 100644
index 0000000000..b987a7d6b1
--- /dev/null
+++ b/tests/auto/quickcontrols/palette/data/set-palette.qml
@@ -0,0 +1,19 @@
+// Copyright (C) 2020 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+import QtQuick
+import QtQuick.Controls
+
+Control {
+ palette {
+ active {
+ buttonText: "azure"
+ button: "khaki"
+ }
+
+ disabled {
+ buttonText: "lavender"
+ button: "coral"
+ }
+ }
+}