forked from qt-creator/qt-creator
QmlDesigner: Updating WindowSpecifics
Change-Id: Ic4bead3e100d00cf532fa10cda42270eb642bb26 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
committed by
Tim Jenssen
parent
cb068421b9
commit
47e3c79b88
@@ -92,4 +92,56 @@ Column {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Section {
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
caption: qsTr("Color")
|
||||||
|
|
||||||
|
ColorEditor {
|
||||||
|
caption: qsTr("Color")
|
||||||
|
backendValue: backendValues.color
|
||||||
|
supportGradient: true
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Section {
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
caption: "Rectangle"
|
||||||
|
|
||||||
|
SectionLayout {
|
||||||
|
rows: 2
|
||||||
|
Label {
|
||||||
|
text: qsTr("Visible")
|
||||||
|
}
|
||||||
|
SecondColumnLayout {
|
||||||
|
CheckBox {
|
||||||
|
backendValue: backendValues.visible
|
||||||
|
Layout.preferredWidth: 80
|
||||||
|
}
|
||||||
|
ExpandingSpacer {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
text: qsTr("Opacity")
|
||||||
|
}
|
||||||
|
SecondColumnLayout {
|
||||||
|
SpinBox {
|
||||||
|
backendValue: backendValues.opacity
|
||||||
|
hasSlider: true
|
||||||
|
Layout.preferredWidth: 80
|
||||||
|
minimumValue: 0
|
||||||
|
maximumValue: 1
|
||||||
|
stepSize: 0.1
|
||||||
|
decimals: 2
|
||||||
|
}
|
||||||
|
ExpandingSpacer {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user