aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/palette/data/childPopupInheritance.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quickcontrols/palette/data/childPopupInheritance.qml')
-rw-r--r--tests/auto/quickcontrols/palette/data/childPopupInheritance.qml40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/palette/data/childPopupInheritance.qml b/tests/auto/quickcontrols/palette/data/childPopupInheritance.qml
new file mode 100644
index 0000000000..35859b5798
--- /dev/null
+++ b/tests/auto/quickcontrols/palette/data/childPopupInheritance.qml
@@ -0,0 +1,40 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+import QtQuick
+import QtQuick.Controls
+
+ApplicationWindow {
+ id: window
+
+ Popup {
+ id: parentPopup
+ objectName: "parentPopup"
+ palette.windowText: "#ffdead"
+
+ Label {
+ text: "parentPopupLabel"
+ objectName: text
+ }
+
+ Popup {
+ id: childPopup
+ objectName: "childPopup"
+
+ Label {
+ text: "childPopupLabel"
+ objectName: text
+ }
+
+ Popup {
+ id: grandchildPopup
+ objectName: "grandchildPopup"
+
+ Label {
+ text: "grandchildPopupLabel"
+ objectName: text
+ }
+ }
+ }
+ }
+}