forked from qt-creator/qt-creator
QmlDesigner.propertyEditor: cleanup of qml
This commit is contained in:
@@ -8,25 +8,25 @@ QExtGroupBox {
|
|||||||
property var backendColor
|
property var backendColor
|
||||||
property var oldMaximumHeight;
|
property var oldMaximumHeight;
|
||||||
|
|
||||||
property var startupCollapse: selectionChanged;
|
property var startupCollapse: selectionChanged;
|
||||||
property var firstTime: true;
|
property var firstTime: true;
|
||||||
|
|
||||||
onFinishedChanged: {
|
onFinishedChanged: {
|
||||||
oldMaximumHeight = maximumHeight;
|
oldMaximumHeight = maximumHeight;
|
||||||
//visible = false;
|
//visible = false;
|
||||||
//visible = true;
|
//visible = true;
|
||||||
//if (finished)
|
//if (finished)
|
||||||
//collapsed = true;
|
//collapsed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
onStartupCollapseChanged: {
|
onStartupCollapseChanged: {
|
||||||
oldMaximumHeight = maximumHeight;
|
oldMaximumHeight = maximumHeight;
|
||||||
if (!collapsed && firstTime) {
|
if (!collapsed && firstTime) {
|
||||||
collapsed = true;
|
collapsed = true;
|
||||||
colorButton.checked = false;
|
colorButton.checked = false;
|
||||||
firstTime = false;
|
firstTime = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
property var baseStateFlag: isBaseState
|
property var baseStateFlag: isBaseState
|
||||||
@@ -101,7 +101,7 @@ QExtGroupBox {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ColorButton {
|
ColorButton {
|
||||||
id: colorButton
|
id: colorButton
|
||||||
color: colorGroupBox.backendColor.value;
|
color: colorGroupBox.backendColor.value;
|
||||||
checkable: true;
|
checkable: true;
|
||||||
checked: false;
|
checked: false;
|
||||||
|
|||||||
Reference in New Issue
Block a user