PaneSection.qml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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("Pane")
  9. SectionLayout {
  10. Label {
  11. text: qsTr("Content Width")
  12. tooltip: qsTr("Content height used for calculating the total implicit width.")
  13. }
  14. SecondColumnLayout {
  15. SpinBox {
  16. maximumValue: 9999999
  17. minimumValue: -9999999
  18. decimals: 0
  19. backendValue: backendValues.contentWidth
  20. Layout.fillWidth: true
  21. }
  22. }
  23. Label {
  24. text: qsTr("Content Height")
  25. tooltip: qsTr("Content height used for calculating the total implicit height.")
  26. }
  27. SecondColumnLayout {
  28. SpinBox {
  29. maximumValue: 9999999
  30. minimumValue: -9999999
  31. decimals: 0
  32. backendValue: backendValues.contentHeight
  33. Layout.fillWidth: true
  34. }
  35. }
  36. }
  37. }