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
852585b6
Commit
852585b6
authored
Apr 08, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.propertyEditor: adding support for sourceSize
parent
a1000e1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/qmldesigner/propertyeditor/Qt/BorderImageSpecifics.qml
View file @
852585b6
...
...
@@ -36,6 +36,41 @@ QWidget {
}
}
}
QWidget
{
// 1
layout
:
HorizontalLayout
{
Label
{
text
:
qsTr
(
"
Source Size
"
)
}
DoubleSpinBox
{
text
:
"
W
"
alignRight
:
false
spacing
:
4
singleStep
:
1
;
enabled
:
anchorBackend
.
hasParent
;
backendValue
:
backendValues
.
sourceSize_width
minimum
:
-
2000
;
maximum
:
2000
;
baseStateFlag
:
isBaseState
;
}
DoubleSpinBox
{
singleStep
:
1
;
text
:
"
H
"
alignRight
:
false
spacing
:
4
backendValue
:
backendValues
.
sourceSize_height
enabled
:
anchorBackend
.
hasParent
;
minimum
:
-
2000
;
maximum
:
2000
;
baseStateFlag
:
isBaseState
;
}
}
}
//QWidget //1
IntEditor
{
...
...
share/qtcreator/qmldesigner/propertyeditor/Qt/ImageSpecifics.qml
View file @
852585b6
...
...
@@ -38,7 +38,7 @@ QWidget {
showComboBox
:
true
}
}
}
}
QWidget
{
layout
:
HorizontalLayout
{
...
...
@@ -69,11 +69,80 @@ QWidget {
backendValue
:
backendValues
.
smooth
baseStateFlag
:
isBaseState
;
checkable
:
true
;
x
:
28
;
// indent a bit
}
}
}
QWidget
{
// 1
layout
:
HorizontalLayout
{
Label
{
text
:
qsTr
(
"
Source Size
"
)
}
DoubleSpinBox
{
text
:
"
W
"
alignRight
:
false
spacing
:
4
singleStep
:
1
;
enabled
:
anchorBackend
.
hasParent
;
backendValue
:
backendValues
.
sourceSize_width
minimum
:
-
2000
;
maximum
:
2000
;
baseStateFlag
:
isBaseState
;
}
DoubleSpinBox
{
singleStep
:
1
;
text
:
"
H
"
alignRight
:
false
spacing
:
4
backendValue
:
backendValues
.
sourceSize_height
enabled
:
anchorBackend
.
hasParent
;
minimum
:
-
2000
;
maximum
:
2000
;
baseStateFlag
:
isBaseState
;
}
}
}
//QWidget //1
QWidget
{
// 1
layout
:
HorizontalLayout
{
Label
{
text
:
qsTr
(
"
Painted Size
"
)
}
DoubleSpinBox
{
text
:
"
W
"
alignRight
:
false
spacing
:
4
singleStep
:
1
;
enabled
:
anchorBackend
.
hasParent
;
backendValue
:
backendValues
.
paintedWidth
minimum
:
-
2000
;
maximum
:
2000
;
baseStateFlag
:
isBaseState
;
}
DoubleSpinBox
{
singleStep
:
1
;
text
:
"
H
"
alignRight
:
false
spacing
:
4
backendValue
:
backendValues
.
paintedHeight
enabled
:
anchorBackend
.
hasParent
;
minimum
:
-
2000
;
maximum
:
2000
;
baseStateFlag
:
isBaseState
;
}
}
}
//QWidget //1
}
}
...
...
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