aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/font/data/inheritance-childcontrol.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quickcontrols/font/data/inheritance-childcontrol.qml')
-rw-r--r--tests/auto/quickcontrols/font/data/inheritance-childcontrol.qml29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/font/data/inheritance-childcontrol.qml b/tests/auto/quickcontrols/font/data/inheritance-childcontrol.qml
new file mode 100644
index 0000000000..f476020517
--- /dev/null
+++ b/tests/auto/quickcontrols/font/data/inheritance-childcontrol.qml
@@ -0,0 +1,29 @@
+// Copyright (C) 2017 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+import QtQuick
+import QtQuick.Controls
+
+ApplicationWindow {
+ id: window
+
+ property alias control: control
+ property alias child: child
+ property alias grandChild: grandChild
+
+ Item {
+ Control {
+ id: control
+
+ Control {
+ id: child
+
+ Item {
+ Control {
+ id: grandChild
+ }
+ }
+ }
+ }
+ }
+}