QmlDesigner.propertyEditor: increase number of decimals for opacity

Task-number: QTCREATORBUG-4772
Change-Id: Ia590803e66d5e2cc41e51a1306511c9bfe4f3c47
Reviewed-on: http://codereview.qt.nokia.com/1519
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
Thomas Hartmann
2011-07-12 13:16:24 +02:00
parent 7ad334d7c0
commit 93b6202d0d
2 changed files with 2 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ QWidget { //This is a special doubleSpinBox that does color coding for states
property alias text: label.text
property bool alignRight: true
property bool enabled: true
property alias decimals: box.decimals
minimumHeight: 22;

View File

@@ -87,6 +87,7 @@ GroupBox {
DoubleSpinBox {
text: ""
decimals: 2
id: opacitySpinBox;
backendValue: backendValues.opacity
property variant backendValueValue: backendValues.opacity.value;