Scatter3DSpecifics.qml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. // Copyright (C) 2016 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
  3. import QtQuick 2.0
  4. import HelperWidgets 2.0
  5. import QtQuick.Layouts 1.0
  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("Scatter3D")
  13. SectionLayout {
  14. Label {
  15. text: qsTr("renderingMode")
  16. tooltip: qsTr("Rendering Mode")
  17. Layout.fillWidth: true
  18. }
  19. SecondColumnLayout {
  20. ComboBox {
  21. backendValue: backendValues.renderingMode
  22. model: ["RenderIndirect", "RenderDirectToBackground",
  23. "RenderDirectToBackground_NoClear"]
  24. Layout.fillWidth: true
  25. scope: "AbstractGraph3D"
  26. }
  27. }
  28. Label {
  29. text: qsTr("msaaSamples")
  30. tooltip: qsTr("MSAA Sample Count")
  31. Layout.fillWidth: true
  32. }
  33. SpinBox {
  34. suffix: " x MSAA"
  35. backendValue: backendValues.msaaSamples
  36. minimumValue: 0
  37. maximumValue: 16
  38. Layout.fillWidth: true
  39. }
  40. Label {
  41. text: qsTr("shadowQuality")
  42. tooltip: qsTr("Shadow Quality")
  43. Layout.fillWidth: true
  44. }
  45. SecondColumnLayout {
  46. ComboBox {
  47. backendValue: backendValues.shadowQuality
  48. model: ["ShadowQualityNone", "ShadowQualityLow", "ShadowQualityMedium",
  49. "ShadowQualityHigh", "ShadowQualitySoftLow", "ShadowQualitySoftMedium",
  50. "ShadowQualitySoftHigh"]
  51. Layout.fillWidth: true
  52. scope: "AbstractGraph3D"
  53. }
  54. }
  55. Label {
  56. text: qsTr("selectionMode")
  57. tooltip: qsTr("Selection Mode")
  58. Layout.fillWidth: true
  59. }
  60. SecondColumnLayout {
  61. ComboBox {
  62. backendValue: backendValues.selectionMode
  63. model: ["SelectionNone", "SelectionItem"]
  64. Layout.fillWidth: true
  65. scope: "AbstractGraph3D"
  66. }
  67. }
  68. Label {
  69. text: qsTr("measureFps")
  70. tooltip: qsTr("Measure Frames Per Second")
  71. Layout.fillWidth: true
  72. }
  73. SecondColumnLayout {
  74. CheckBox {
  75. backendValue: backendValues.measureFps
  76. Layout.fillWidth: true
  77. }
  78. }
  79. Label {
  80. text: qsTr("orthoProjection")
  81. tooltip: qsTr("Use Orthographic Projection")
  82. Layout.fillWidth: true
  83. }
  84. SecondColumnLayout {
  85. CheckBox {
  86. backendValue: backendValues.orthoProjection
  87. Layout.fillWidth: true
  88. }
  89. }
  90. Label {
  91. text: qsTr("aspectRatio")
  92. tooltip: qsTr("Horizontal to Vertical Aspect Ratio")
  93. Layout.fillWidth: true
  94. }
  95. SecondColumnLayout {
  96. SpinBox {
  97. backendValue: backendValues.aspectRatio
  98. minimumValue: 0.1
  99. maximumValue: 10.0
  100. stepSize: 0.1
  101. decimals: 1
  102. Layout.fillWidth: true
  103. }
  104. }
  105. Label {
  106. text: qsTr("optimizationHints")
  107. tooltip: qsTr("Optimization Hints")
  108. Layout.fillWidth: true
  109. }
  110. SecondColumnLayout {
  111. ComboBox {
  112. backendValue: backendValues.optimizationHints
  113. model: ["OptimizationDefault", "OptimizationStatic"]
  114. Layout.fillWidth: true
  115. scope: "AbstractGraph3D"
  116. }
  117. }
  118. Label {
  119. text: qsTr("polar")
  120. tooltip: qsTr("Use Polar Coordinates")
  121. Layout.fillWidth: true
  122. }
  123. SecondColumnLayout {
  124. CheckBox {
  125. id: polarCheckbox
  126. backendValue: backendValues.polar
  127. Layout.fillWidth: true
  128. }
  129. }
  130. Label {
  131. text: qsTr("radialLabelOffset")
  132. tooltip: qsTr("Radial Label Offset")
  133. Layout.fillWidth: true
  134. visible: polarCheckbox.checked
  135. }
  136. SecondColumnLayout {
  137. visible: polarCheckbox.checked
  138. SpinBox {
  139. backendValue: backendValues.radialLabelOffset
  140. minimumValue: 0.0
  141. maximumValue: 1.0
  142. stepSize: 0.01
  143. decimals: 2
  144. Layout.fillWidth: true
  145. }
  146. }
  147. Label {
  148. text: qsTr("horizontalAspectRatio")
  149. tooltip: qsTr("Horizontal Aspect Ratio")
  150. Layout.fillWidth: true
  151. }
  152. SecondColumnLayout {
  153. SpinBox {
  154. backendValue: backendValues.horizontalAspectRatio
  155. minimumValue: 0.0
  156. maximumValue: 100.0
  157. stepSize: 0.01
  158. decimals: 2
  159. Layout.fillWidth: true
  160. }
  161. }
  162. Label {
  163. text: qsTr("margin")
  164. tooltip: qsTr("Graph Margin")
  165. Layout.fillWidth: true
  166. }
  167. SecondColumnLayout {
  168. SpinBox {
  169. backendValue: backendValues.margin
  170. minimumValue: -1.0
  171. maximumValue: 100.0
  172. stepSize: 0.1
  173. decimals: 1
  174. Layout.fillWidth: true
  175. }
  176. }
  177. }
  178. }
  179. }