aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtQml/registerattached.qml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtQml/registerattached.qml')
-rw-r--r--sources/pyside6/tests/QtQml/registerattached.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtQml/registerattached.qml b/sources/pyside6/tests/QtQml/registerattached.qml
new file mode 100644
index 000000000..7ae8730bd
--- /dev/null
+++ b/sources/pyside6/tests/QtQml/registerattached.qml
@@ -0,0 +1,20 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+import TestLayouts
+
+TestLayout {
+ id: layout
+
+ widgets: [
+ TestWidget {
+ id: widget1
+ TestLayout.leftMargin: 10
+ },
+
+ TestWidget {
+ id: widget2
+ TestLayout.leftMargin: 20
+ }
+ ]
+}