Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
2c57c299
Commit
2c57c299
authored
15 years ago
by
Christiaan Janssen
Browse files
Options
Downloads
Patches
Plain Diff
Revert "QmlDesigner.PropertyEditor: changed layout combobox"
This reverts commit
622e7234
.
parent
e58ee43e
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml
+6
-6
6 additions, 6 deletions
share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml
share/qtcreator/qmldesigner/propertyeditor/Qt/LayoutComboBox.qml
+0
-35
0 additions, 35 deletions
...tcreator/qmldesigner/propertyeditor/Qt/LayoutComboBox.qml
with
6 additions
and
41 deletions
share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml
+
6
−
6
View file @
2c57c299
...
...
@@ -44,7 +44,7 @@ GroupBox {
text
:
"
Target
"
fixedWidth
:
targetLabelWidth
}
Layout
ComboBox
{
Sibling
ComboBox
{
itemNode
:
anchorBackend
.
itemNode
selectedItemNode
:
anchorBackend
.
topTarget
onSelectedItemNodeChanged
:
{
anchorBackend
.
topTarget
=
selectedItemNode
;
}
...
...
@@ -92,7 +92,7 @@ GroupBox {
text
:
"
Target
"
fixedWidth
:
targetLabelWidth
}
Layout
ComboBox
{
Sibling
ComboBox
{
itemNode
:
anchorBackend
.
itemNode
selectedItemNode
:
anchorBackend
.
bottomTarget
onSelectedItemNodeChanged
:
{
anchorBackend
.
bottomTarget
=
selectedItemNode
;
}
...
...
@@ -139,7 +139,7 @@ GroupBox {
text
:
"
Target
"
fixedWidth
:
targetLabelWidth
}
Layout
ComboBox
{
Sibling
ComboBox
{
itemNode
:
anchorBackend
.
itemNode
selectedItemNode
:
anchorBackend
.
leftTarget
onSelectedItemNodeChanged
:
{
anchorBackend
.
leftTarget
=
selectedItemNode
;
}
...
...
@@ -185,7 +185,7 @@ GroupBox {
text
:
"
Target
"
fixedWidth
:
targetLabelWidth
}
Layout
ComboBox
{
Sibling
ComboBox
{
itemNode
:
anchorBackend
.
itemNode
selectedItemNode
:
anchorBackend
.
rightTarget
onSelectedItemNodeChanged
:
{
anchorBackend
.
rightTarget
=
selectedItemNode
;
}
...
...
@@ -231,7 +231,7 @@ GroupBox {
text
:
"
Target
"
fixedWidth
:
targetLabelWidth
}
Layout
ComboBox
{
Sibling
ComboBox
{
itemNode
:
anchorBackend
.
itemNode
selectedItemNode
:
anchorBackend
.
horizontalTarget
onSelectedItemNodeChanged
:
{
anchorBackend
.
horizontalTarget
=
selectedItemNode
;
}
...
...
@@ -277,7 +277,7 @@ GroupBox {
text
:
"
Target
"
fixedWidth
:
targetLabelWidth
}
Layout
ComboBox
{
Sibling
ComboBox
{
itemNode
:
anchorBackend
.
itemNode
selectedItemNode
:
anchorBackend
.
verticalTarget
onSelectedItemNodeChanged
:
{
anchorBackend
.
verticalTarget
=
selectedItemNode
;
}
...
...
This diff is collapsed.
Click to expand it.
share/qtcreator/qmldesigner/propertyeditor/Qt/LayoutComboBox.qml
deleted
100644 → 0
+
0
−
35
View file @
e58ee43e
import
Qt
4.6
import
Bauhaus
1.0
QWidget
{
id
:
layoutComboBox
property
alias
itemNode
:
comboBox
.
itemNode
property
alias
selectedItemNode
:
comboBox
.
selectedItemNode
property
alias
enabled
:
comboBox
.
enabled
property
var
isEnabled
:
comboBox
.
enabled
onIsEnabledChanged
:
{
evaluate
();
}
// special: will only be valid in base state
Script
{
function
evaluate
()
{
if
(
!
enabled
)
{
comboBox
.
setStyleSheet
(
"
color:
"
+
scheme
.
disabledColor
);
}
else
{
comboBox
.
setStyleSheet
(
"
QComboBox,QComboBox:on{color:
"
+
scheme
.
defaultColor
+
"
}QComboBox:off{color:
"
+
scheme
.
optionsColor
+
"
}
"
);
}
}
}
ColorScheme
{
id
:
scheme
;
}
layout
:
HorizontalLayout
{
SiblingComboBox
{
id
:
comboBox
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment