Scatter3DSpecifics.qml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // Copyright (C) 2023 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
  3. import QtQuick
  4. import HelperWidgets
  5. import QtQuick.Layouts
  6. Column {
  7. anchors.left: parent.left
  8. anchors.right: parent.right
  9. Section {
  10. anchors.left: parent.left
  11. anchors.right: parent.right
  12. caption: qsTr("Scatter")
  13. SectionLayout {
  14. PropertyLabel {
  15. text: qsTr("Polar Coordinates")
  16. tooltip: qsTr("Use polar coordinates")
  17. Layout.fillWidth: true
  18. }
  19. SecondColumnLayout {
  20. CheckBox {
  21. id: polarCheckbox
  22. backendValue: backendValues.polar
  23. Layout.fillWidth: true
  24. }
  25. }
  26. PropertyLabel {
  27. text: qsTr("Label Offset")
  28. tooltip: qsTr("Normalized horizontal radial label offset")
  29. Layout.fillWidth: true
  30. visible: polarCheckbox.checked
  31. }
  32. SecondColumnLayout {
  33. visible: polarCheckbox.checked
  34. SpinBox {
  35. backendValue: backendValues.radialLabelOffset
  36. minimumValue: 0.0
  37. maximumValue: 1.0
  38. stepSize: 0.01
  39. decimals: 2
  40. Layout.fillWidth: true
  41. }
  42. }
  43. PropertyLabel {
  44. text: qsTr("Selection Mode")
  45. tooltip: qsTr("Scatter item selection mode")
  46. Layout.fillWidth: true
  47. }
  48. SecondColumnLayout {
  49. ComboBox {
  50. backendValue: backendValues.selectionMode
  51. model: ["None", "Item"]
  52. Layout.fillWidth: true
  53. scope: "Graphs3D"
  54. }
  55. }
  56. }
  57. }
  58. GraphsSection {}
  59. GraphsCameraSection {}
  60. }