summaryrefslogtreecommitdiffstats
path: root/src/datavisualizationqml2/designer/Bars3DSpecifics.qml
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2014-03-05 13:54:58 +0100
committerTomi Korpipää <tomi.korpipaa@digia.com>2014-03-06 06:18:26 +0200
commit3783b9c38c50f4a4431b995bcc80ddd1a8c0c106 (patch)
tree7cbf8cace21bdc00d439bd8ac00862424b12785a /src/datavisualizationqml2/designer/Bars3DSpecifics.qml
parent40ce5faf49631d0b65c1c3d4de61215003ec72c1 (diff)
Adding support for barThickness and barSpacing again.
The barSpacing property barSpacing is rounded to integers, but this is fixed by: https://codereview.qt-project.org/#change,79968 Change-Id: I39844ccfa90c4aa344c05bc87d6039fcf3836cb0 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualizationqml2/designer/Bars3DSpecifics.qml')
-rw-r--r--src/datavisualizationqml2/designer/Bars3DSpecifics.qml40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/datavisualizationqml2/designer/Bars3DSpecifics.qml b/src/datavisualizationqml2/designer/Bars3DSpecifics.qml
index e6b9f83a..33fd6f22 100644
--- a/src/datavisualizationqml2/designer/Bars3DSpecifics.qml
+++ b/src/datavisualizationqml2/designer/Bars3DSpecifics.qml
@@ -42,6 +42,46 @@ Column {
}
}
Label {
+ text: qsTr("barThickness")
+ toolTip: qsTr("Bar Thickness Ratio")
+ Layout.fillWidth: true
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.barThickness
+ minimumValue: 0.001
+ maximumValue: 1.0
+ stepSize: 0.001
+ decimals: 3
+ Layout.fillWidth: true
+ }
+ }
+ Label {
+ text: qsTr("barSpacing")
+ toolTip: qsTr("Bar Spacing")
+ Layout.fillWidth: true
+ }
+ SecondColumnLayout {
+ SpinBox {
+ prefix: "col: "
+ backendValue: backendValues.barSpacing_width
+ minimumValue: 0.0
+ maximumValue: 10.0
+ stepSize: 0.01
+ decimals: 2
+ Layout.fillWidth: true
+ }
+ SpinBox {
+ prefix: "row: "
+ backendValue: backendValues.barSpacing_height
+ minimumValue: 0.0
+ maximumValue: 10.0
+ stepSize: 0.01
+ decimals: 2
+ Layout.fillWidth: true
+ }
+ }
+ Label {
text: qsTr("barSpacingRelative")
toolTip: qsTr("Bar Spacing Relative")
Layout.fillWidth: true