ContainerSection.qml 719 B

123456789101112131415161718192021222324252627
  1. // Copyright (C) 2017 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. // Qt-Security score:significant reason:default
  4. import QtQuick
  5. import HelperWidgets
  6. import QtQuick.Layouts
  7. Section {
  8. caption: qsTr("Container")
  9. SectionLayout {
  10. Label {
  11. text: qsTr("Current")
  12. tooltip: qsTr("The index of the current item.")
  13. }
  14. SecondColumnLayout {
  15. SpinBox {
  16. maximumValue: 9999999
  17. minimumValue: -9999999
  18. decimals: 0
  19. backendValue: backendValues.currentIndex
  20. Layout.fillWidth: true
  21. }
  22. }
  23. }
  24. }