mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-01 10:21:59 +02:00
[core/ui] add a locked property on nodes
Add locked property on core nodes and update UI in the same commit because both parts are very dependent for this change.
This commit is contained in:
parent
8a9499a711
commit
ff7f8b3e36
5 changed files with 69 additions and 118 deletions
|
@ -16,7 +16,7 @@ Item {
|
|||
/// The underlying Node object
|
||||
property variant node
|
||||
/// Whether the node can be modified
|
||||
property bool readOnly: false
|
||||
property bool readOnly: node.locked
|
||||
/// Whether the node is in compatibility mode
|
||||
readonly property bool isCompatibilityNode: node.hasOwnProperty("compatibilityIssue")
|
||||
/// Mouse related states
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue