mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
[core/ui] Modifiable label and description of node available
This commit is contained in:
parent
bb8b544550
commit
55c657dc1d
2 changed files with 27 additions and 3 deletions
|
@ -78,7 +78,7 @@ RowLayout {
|
|||
var tooltip = ""
|
||||
if (!object.validValue && object.desc.errorMessage !== "")
|
||||
tooltip += "<i><b>Error: </b>" + Format.plainToHtml(object.desc.errorMessage) + "</i><br><br>"
|
||||
tooltip += "<b>" + object.desc.name + "</b><br>" + Format.plainToHtml(object.desc.description)
|
||||
tooltip += "<b>" + object.desc.name + "</b><br>" + Format.plainToHtml(object.description)
|
||||
return tooltip
|
||||
}
|
||||
visible: parameterMA.containsMouse
|
||||
|
@ -208,7 +208,7 @@ RowLayout {
|
|||
Component {
|
||||
id: pushButton_component
|
||||
Button {
|
||||
text: attribute.desc.label
|
||||
text: attribute.label
|
||||
enabled: root.editable
|
||||
onClicked: {
|
||||
attribute.clicked()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue