Skip to content
Snippets Groups Projects
Commit e196ad07 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: cleanup of qml

parent 4b2196e8
No related branches found
No related tags found
No related merge requests found
......@@ -7,26 +7,26 @@ QExtGroupBox {
property var finished;
property var backendColor
property var oldMaximumHeight;
property var startupCollapse: selectionChanged;
property var firstTime: true;
property var startupCollapse: selectionChanged;
property var firstTime: true;
onFinishedChanged: {
oldMaximumHeight = maximumHeight;
//visible = false;
//visible = true;
//if (finished)
//collapsed = true;
//collapsed = true;
}
onStartupCollapseChanged: {
oldMaximumHeight = maximumHeight;
onStartupCollapseChanged: {
oldMaximumHeight = maximumHeight;
if (!collapsed && firstTime) {
collapsed = true;
colorButton.checked = false;
firstTime = false;
}
}
collapsed = true;
colorButton.checked = false;
firstTime = false;
}
}
property var baseStateFlag: isBaseState
......@@ -101,7 +101,7 @@ QExtGroupBox {
}
ColorButton {
id: colorButton
id: colorButton
color: colorGroupBox.backendColor.value;
checkable: true;
checked: false;
......@@ -109,7 +109,7 @@ QExtGroupBox {
minimumWidth: 18;
onClicked: {
if (checked) {
if (checked) {
colorGroupBox.collapsed = false;
colorButtonWidget.visible = true;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment