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 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;
|
||||
|
||||
Reference in New Issue
Block a user