Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
e196ad07
Commit
e196ad07
authored
Mar 01, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.propertyEditor: cleanup of qml
parent
4b2196e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/qmldesigner/propertyeditor/Qt/ColorGroupBox.qml
View file @
e196ad07
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment