PageSpecifics.qml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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("Page")
  12. SectionLayout {
  13. Label {
  14. text: qsTr("Title")
  15. tooltip: qsTr("Title of the page.")
  16. }
  17. SecondColumnLayout {
  18. LineEdit {
  19. backendValue: backendValues.title
  20. Layout.fillWidth: true
  21. }
  22. }
  23. Label {
  24. text: qsTr("Content Width")
  25. tooltip: qsTr("Content height used for calculating the total implicit width.")
  26. }
  27. SecondColumnLayout {
  28. SpinBox {
  29. maximumValue: 9999999
  30. minimumValue: -9999999
  31. decimals: 0
  32. backendValue: backendValues.contentWidth
  33. Layout.fillWidth: true
  34. }
  35. }
  36. Label {
  37. text: qsTr("Content Height")
  38. tooltip: qsTr("Content height used for calculating the total implicit height.")
  39. }
  40. SecondColumnLayout {
  41. SpinBox {
  42. maximumValue: 9999999
  43. minimumValue: -9999999
  44. decimals: 0
  45. backendValue: backendValues.contentHeight
  46. Layout.fillWidth: true
  47. }
  48. }
  49. }
  50. }
  51. ControlSection {
  52. width: parent.width
  53. }
  54. FontSection {
  55. width: parent.width
  56. }
  57. PaddingSection {
  58. width: parent.width
  59. }
  60. }