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
d3cb00e7
Commit
d3cb00e7
authored
Apr 29, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.propertyEditor: show expressions as tooltips
Expressions are now shown as a tooltip if an expression is set
parent
a98a6d05
Changes
3
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml
View file @
d3cb00e7
...
...
@@ -80,6 +80,7 @@ QWidget { //This is a special doubleSpinBox that does color coding for states
decimals
:
1
;
keyboardTracking
:
false
;
enabled
:
!
backendValue
.
isBound
&&
doubleSpinBox
.
enabled
;
toolTip
:
backendValue
.
isBound
?
backendValue
.
expression
:
""
property
bool
readingFromBackend
:
false
;
property
real
valueFromBackend
:
doubleSpinBox
.
backendValue
.
value
;
...
...
share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml
View file @
d3cb00e7
...
...
@@ -57,6 +57,7 @@ QWidget {
styleSheet
:
"
QLineEdit { padding-left: 32; }
"
width
:
lineEdit
.
width
height
:
lineEdit
.
height
toolTip
:
backendValue
.
isBound
?
backendValue
.
expression
:
""
property
string
valueFromBackend
:
(
backendValue
===
undefined
||
backendValue
.
value
===
undefined
)
?
""
:
backendValue
.
value
;
...
...
share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml
View file @
d3cb00e7
...
...
@@ -65,6 +65,7 @@ QWidget { //This is a special spinBox that does color coding for states
spacing
:
4
QSpinBox
{
property
alias
backendValue
:
spinBox
.
backendValue
toolTip
:
backendValue
.
isBound
?
backendValue
.
expression
:
""
enabled
:
!
backendValue
.
isBound
&&
spinBox
.
enabled
;
...
...
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