aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/palette/data/palette-appwindow-bindingpalette.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quickcontrols/palette/data/palette-appwindow-bindingpalette.qml')
-rw-r--r--tests/auto/quickcontrols/palette/data/palette-appwindow-bindingpalette.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/palette/data/palette-appwindow-bindingpalette.qml b/tests/auto/quickcontrols/palette/data/palette-appwindow-bindingpalette.qml
new file mode 100644
index 0000000000..ce7ca82700
--- /dev/null
+++ b/tests/auto/quickcontrols/palette/data/palette-appwindow-bindingpalette.qml
@@ -0,0 +1,15 @@
+import QtQuick
+import QtQuick.Controls
+
+ApplicationWindow {
+ id: window
+ width: 500
+ height: 300
+ palette: customPalette
+
+ property alias cstmPalette: customPalette
+
+ Palette { id: customPalette }
+
+ Component.onCompleted: { window.palette.buttonText = "white" }
+}