diff options
Diffstat (limited to 'tests/manual/quickcontrols/nativestyle/ControlContainer.qml')
-rw-r--r-- | tests/manual/quickcontrols/nativestyle/ControlContainer.qml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/manual/quickcontrols/nativestyle/ControlContainer.qml b/tests/manual/quickcontrols/nativestyle/ControlContainer.qml new file mode 100644 index 0000000000..11727aef09 --- /dev/null +++ b/tests/manual/quickcontrols/nativestyle/ControlContainer.qml @@ -0,0 +1,29 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts + +Item { + anchors.left: parent.left + anchors.right: parent.right + anchors.rightMargin: 7 + implicitHeight: groupBox.height + + property alias title: groupBox.title + property real rowSpacing: 20 + + default property alias data: layout.data + + GroupBox { + id: groupBox + anchors.left: parent.left + anchors.right: parent.right + + ColumnLayout { + id: layout + spacing: 15 + } + } +} |