TabBarSpecifics.qml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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("TabBar")
  12. SectionLayout {
  13. Label {
  14. text: qsTr("Position")
  15. tooltip: qsTr("Position of the tabbar.")
  16. }
  17. SecondColumnLayout {
  18. ComboBox {
  19. backendValue: backendValues.position
  20. model: [ "Header", "Footer" ]
  21. scope: "TabBar"
  22. Layout.fillWidth: true
  23. }
  24. }
  25. Label {
  26. text: qsTr("Content Width")
  27. tooltip: qsTr("Content height used for calculating the total implicit width.")
  28. }
  29. SecondColumnLayout {
  30. SpinBox {
  31. maximumValue: 9999999
  32. minimumValue: -9999999
  33. decimals: 0
  34. backendValue: backendValues.contentWidth
  35. Layout.fillWidth: true
  36. }
  37. }
  38. Label {
  39. text: qsTr("Content Height")
  40. tooltip: qsTr("Content height used for calculating the total implicit height.")
  41. }
  42. SecondColumnLayout {
  43. SpinBox {
  44. maximumValue: 9999999
  45. minimumValue: -9999999
  46. decimals: 0
  47. backendValue: backendValues.contentHeight
  48. Layout.fillWidth: true
  49. }
  50. }
  51. }
  52. }
  53. ContainerSection {
  54. width: parent.width
  55. }
  56. ControlSection {
  57. width: parent.width
  58. }
  59. FontSection {
  60. width: parent.width
  61. }
  62. PaddingSection {
  63. width: parent.width
  64. }
  65. }