aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/designer/ContainerSection.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols/designer/ContainerSection.qml')
-rw-r--r--src/quickcontrols/designer/ContainerSection.qml26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/quickcontrols/designer/ContainerSection.qml b/src/quickcontrols/designer/ContainerSection.qml
new file mode 100644
index 0000000000..93618cb5bf
--- /dev/null
+++ b/src/quickcontrols/designer/ContainerSection.qml
@@ -0,0 +1,26 @@
+// Copyright (C) 2017 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+import QtQuick
+import HelperWidgets
+import QtQuick.Layouts
+
+Section {
+ caption: qsTr("Container")
+
+ SectionLayout {
+ Label {
+ text: qsTr("Current")
+ tooltip: qsTr("The index of the current item.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ maximumValue: 9999999
+ minimumValue: -9999999
+ decimals: 0
+ backendValue: backendValues.currentIndex
+ Layout.fillWidth: true
+ }
+ }
+ }
+}