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
818b9979
Commit
818b9979
authored
Feb 04, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.propertyEditor extending DoubleSpinBox
parent
ba9a6b50
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml
View file @
818b9979
...
...
@@ -9,7 +9,9 @@ QWidget { //This is a special DoubleSpinBox that does color coding for states
property
alias
singleStep
:
box
.
singleStep
property
alias
minimum
:
box
.
minimum
property
alias
maximum
:
box
.
maximum
property
alias
spacing
:
LayoutH
.
spacing
property
alias
text
:
label
.
text
property
bool
alignRight
:
true
property
bool
enabled
:
true
minimumHeight
:
22
;
...
...
@@ -50,13 +52,14 @@ QWidget { //This is a special DoubleSpinBox that does color coding for states
evaluate
();
}
layout
:
HorizontalLayout
{
layout
:
HorizontalLayout
{
id
:
LayoutH
;
QLabel
{
id
:
label
;
font.bold
:
true
;
alignment
:
"
Qt::AlignRight | Qt::AlignVCenter
"
maximumWidth
:
8
0
alignment
:
DoubleSpinBox
.
alignRight
?
"
Qt::AlignRight | Qt::AlignVCenter
"
:
"
Qt::AlignLeft | Qt::AlignVCenter
"
;
maximumWidth
:
4
0
visible
:
DoubleSpinBox
.
text
!=
""
;
}
...
...
Write
Preview
Supports
Markdown
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