diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-10-28 11:20:41 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-10-28 11:23:46 +0200 |
commit | 440479cc4703c44b9fd59dcf679e426fcdd750d6 (patch) | |
tree | 264a977fea943417feab331516fa2c9033d48ea9 /src/datavisualizationqml2/designer/Scatter3DSpecifics.qml | |
parent | 23f2810fdfeed3cf8c8c1d1b280aa0052dcb8fc3 (diff) |
Added v1.2 properties to designer plugin
Also added missing properties from v1.1.
Task-number: QTRD-3396
Change-Id: Ic001e726dbe09238ab51b1fdfb2a58d99b5e29e2
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Diffstat (limited to 'src/datavisualizationqml2/designer/Scatter3DSpecifics.qml')
-rw-r--r-- | src/datavisualizationqml2/designer/Scatter3DSpecifics.qml | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/src/datavisualizationqml2/designer/Scatter3DSpecifics.qml b/src/datavisualizationqml2/designer/Scatter3DSpecifics.qml index 1e2556ec..131f71fd 100644 --- a/src/datavisualizationqml2/designer/Scatter3DSpecifics.qml +++ b/src/datavisualizationqml2/designer/Scatter3DSpecifics.qml @@ -121,6 +121,78 @@ Column { Layout.fillWidth: true } } + Label { + text: qsTr("optimizationHints") + toolTip: qsTr("Optimization Hints") + Layout.fillWidth: true + } + SecondColumnLayout { + ComboBox { + backendValue: backendValues.optimizationHints + model: ["OptimizationDefault", "OptimizationStatic"] + Layout.fillWidth: true + scope: "AbstractGraph3D" + } + } + Label { + text: qsTr("polar") + toolTip: qsTr("Use Polar Coordinates") + Layout.fillWidth: true + } + SecondColumnLayout { + CheckBox { + id: polarCheckbox + backendValue: backendValues.polar + Layout.fillWidth: true + } + } + Label { + text: qsTr("radialLabelOffset") + toolTip: qsTr("Radial Label Offset") + Layout.fillWidth: true + visible: polarCheckbox.checked + } + SecondColumnLayout { + visible: polarCheckbox.checked + SpinBox { + backendValue: backendValues.radialLabelOffset + minimumValue: 0.0 + maximumValue: 1.0 + stepSize: 0.01 + decimals: 1 + Layout.fillWidth: true + } + } + Label { + text: qsTr("horizontalAspectRatio") + toolTip: qsTr("Horizontal Aspect Ratio") + Layout.fillWidth: true + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.horizontalAspectRatio + minimumValue: 0.0 + maximumValue: 100.0 + stepSize: 0.01 + decimals: 2 + Layout.fillWidth: true + } + } + Label { + text: qsTr("margin") + toolTip: qsTr("Graph Margin") + Layout.fillWidth: true + } + SecondColumnLayout { + SpinBox { + backendValue: backendValues.margin + minimumValue: -1.0 + maximumValue: 100.0 + stepSize: 0.1 + decimals: 1 + Layout.fillWidth: true + } + } } } } |