SwipeViewSpecifics.qml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. Column {
  8. width: parent.width
  9. Section {
  10. width: parent.width
  11. caption: qsTr("SwipeView")
  12. SectionLayout {
  13. Label {
  14. text: qsTr("Interactive")
  15. tooltip: qsTr("Whether the view is interactive.")
  16. }
  17. SecondColumnLayout {
  18. CheckBox {
  19. text: backendValues.interactive.valueToString
  20. backendValue: backendValues.interactive
  21. Layout.fillWidth: true
  22. }
  23. }
  24. Label {
  25. text: qsTr("Orientation")
  26. tooltip: qsTr("Orientation of the view.")
  27. }
  28. SecondColumnLayout {
  29. ComboBox {
  30. backendValue: backendValues.orientation
  31. model: [ "Horizontal", "Vertical" ]
  32. scope: "Qt"
  33. Layout.fillWidth: true
  34. }
  35. }
  36. }
  37. }
  38. ContainerSection {
  39. width: parent.width
  40. }
  41. ControlSection {
  42. width: parent.width
  43. }
  44. FontSection {
  45. width: parent.width
  46. }
  47. PaddingSection {
  48. width: parent.width
  49. }
  50. }