RoundButtonSpecifics.qml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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("RoundButton")
  12. SectionLayout {
  13. Label {
  14. text: qsTr("Radius")
  15. tooltip: qsTr("Radius of the button.")
  16. }
  17. SecondColumnLayout {
  18. SpinBox {
  19. minimumValue: 0
  20. maximumValue: 10000
  21. decimals: 0
  22. backendValue: backendValues.radius
  23. Layout.fillWidth: true
  24. }
  25. }
  26. }
  27. }
  28. ButtonSection {
  29. width: parent.width
  30. }
  31. AbstractButtonSection {
  32. width: parent.width
  33. }
  34. ControlSection {
  35. width: parent.width
  36. }
  37. FontSection {
  38. width: parent.width
  39. }
  40. PaddingSection {
  41. width: parent.width
  42. }
  43. }