Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
29296277
Commit
29296277
authored
Feb 16, 2010
by
Thomas Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QmlDesigner.propertyEditor: cleaning up Layout.qml
parent
75658be3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
250 additions
and
12 deletions
+250
-12
share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml
share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml
+250
-12
No files found.
share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml
View file @
29296277
...
...
@@ -6,19 +6,257 @@ GroupBox {
caption
:
"
layout
"
;
id
:
layout
;
enabled
:
anchorBackend
.
hasParent
;
layout
:
QVBoxLayout
{
topMargin
:
20
;
bottomMargin
:
10
;
leftMargin
:
40
;
rightMargin
:
20
;
spacing
:
20
id
:
layout
;
enabled
:
anchorBackend
.
hasParent
;
layout
:
VerticalLayout
{
QLabel
{
text
:
"
layout
"
text
:
"
Anchors
"
}
QWidget
{
layout
:
HorizontalLayout
{
leftMargin
:
10
AnchorButtons
{}
}
}
QWidget
{
visible
:
anchorBackend
.
topAnchored
;
layout
:
VerticalLayout
{
topMargin
:
8
;
bottomMargin
:
4
;
rightMargin
:
20
;
QWidget
{
layout
:
HorizontalLayout
{
leftMargin
:
10
QLabel
{
//iconFromFile: "qrc:qmldesigner/images/icon-top.png"
fixedWidth
:
32
fixedHeight
:
32
styleSheet
:
"
border-image: url(:/qmldesigner/images/icon-top.png)
"
;
}
Label
{
text
:
"
Target
"
fixedWidth
:
90
-
20
-
32
}
QComboBox
{
}
}
}
QWidget
{
layout
:
HorizontalLayout
{
IntEditor
{
slider
:
false
caption
:
"
Margin
"
}
PlaceHolder
{
fixedWidth
:
140
}
}
}
}
}
QWidget
{
visible
:
anchorBackend
.
bottomAnchored
;
layout
:
VerticalLayout
{
topMargin
:
8
;
bottomMargin
:
4
;
rightMargin
:
20
;
QWidget
{
layout
:
HorizontalLayout
{
leftMargin
:
10
QLabel
{
//iconFromFile: "qrc:qmldesigner/images/icon-top.png"
fixedWidth
:
32
fixedHeight
:
32
styleSheet
:
"
border-image: url(:/qmldesigner/images/icon-bottom.png)
"
;
}
Label
{
text
:
"
Target
"
fixedWidth
:
90
-
20
-
32
}
QComboBox
{
}
}
}
QWidget
{
layout
:
HorizontalLayout
{
IntEditor
{
slider
:
false
caption
:
"
Margin
"
}
PlaceHolder
{
fixedWidth
:
140
}
}
}
}
}
AnchorButtons
{}
}
QWidget
{
visible
:
anchorBackend
.
leftAnchored
;
layout
:
VerticalLayout
{
topMargin
:
8
;
bottomMargin
:
4
;
rightMargin
:
20
;
QWidget
{
layout
:
HorizontalLayout
{
leftMargin
:
10
QLabel
{
//iconFromFile: "qrc:qmldesigner/images/icon-top.png"
fixedWidth
:
32
fixedHeight
:
32
styleSheet
:
"
border-image: url(:/qmldesigner/images/icon-left.png)
"
;
}
Label
{
text
:
"
Target
"
fixedWidth
:
90
-
20
-
32
}
QComboBox
{
}
}
}
QWidget
{
layout
:
HorizontalLayout
{
IntEditor
{
slider
:
false
caption
:
"
Margin
"
}
PlaceHolder
{
fixedWidth
:
140
}
}
}
}
}
QWidget
{
visible
:
anchorBackend
.
rightAnchored
;
layout
:
VerticalLayout
{
topMargin
:
8
;
bottomMargin
:
4
;
rightMargin
:
20
;
QWidget
{
layout
:
HorizontalLayout
{
leftMargin
:
10
QLabel
{
//iconFromFile: "qrc:qmldesigner/images/icon-top.png"
fixedWidth
:
32
fixedHeight
:
32
styleSheet
:
"
border-image: url(:/qmldesigner/images/icon-right.png)
"
;
}
Label
{
text
:
"
Target
"
fixedWidth
:
90
-
20
-
32
}
QComboBox
{
}
}
}
QWidget
{
layout
:
HorizontalLayout
{
IntEditor
{
slider
:
false
caption
:
"
Margin
"
}
PlaceHolder
{
fixedWidth
:
140
}
}
}
}
}
QWidget
{
visible
:
anchorBackend
.
horizontalCentered
layout
:
VerticalLayout
{
topMargin
:
8
;
bottomMargin
:
4
;
rightMargin
:
20
;
QWidget
{
layout
:
HorizontalLayout
{
leftMargin
:
10
QLabel
{
//iconFromFile: "qrc:qmldesigner/images/icon-top.png"
fixedWidth
:
32
fixedHeight
:
32
styleSheet
:
"
border-image: url(:/qmldesigner/images/icon-horizontal.png)
"
;
}
Label
{
text
:
"
Target
"
fixedWidth
:
90
-
20
-
32
}
QComboBox
{
}
}
}
QWidget
{
layout
:
HorizontalLayout
{
IntEditor
{
slider
:
false
caption
:
"
Margin
"
}
PlaceHolder
{
fixedWidth
:
140
}
}
}
}
}
QWidget
{
visible
:
anchorBackend
.
verticalCentered
layout
:
VerticalLayout
{
topMargin
:
8
;
bottomMargin
:
4
;
rightMargin
:
20
;
QWidget
{
layout
:
HorizontalLayout
{
leftMargin
:
10
QLabel
{
//iconFromFile: "qrc:qmldesigner/images/icon-top.png"
fixedWidth
:
32
fixedHeight
:
32
styleSheet
:
"
border-image: url(:/qmldesigner/images/icon-vertical.png)
"
;
}
Label
{
text
:
"
Target
"
fixedWidth
:
90
-
20
-
32
}
QComboBox
{
}
}
}
QWidget
{
layout
:
HorizontalLayout
{
IntEditor
{
slider
:
false
caption
:
"
Margin
"
}
PlaceHolder
{
fixedWidth
:
140
}
}
}
}
}
}
}
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