Commit d3a053c2 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: fixing SpinBox

parent ca83165e
......@@ -10,7 +10,7 @@ QWidget { //This is a special spinBox that does color coding for states
property alias singleStep: box.singleStep;
property alias minimum: box.minimum
property alias maximum: box.maximum
property alias enabled: box.enabled
property bool enabled: true
minimumHeight: 22;
......@@ -62,12 +62,14 @@ QWidget { //This is a special spinBox that does color coding for states
ColorScheme { id:scheme; }
layout: HorizontalLayout {
spacing: 4
QSpinBox {
property alias backendValue: spinBox.backendValue
enabled: !backendValue.isBound && doubleSpinBox.enabled;
keyboardTracking: false;
id: box;
enabled: backendValue.isBound
property bool readingFromBackend: false;
property int valueFromBackend: spinBox.backendValue.value;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment