mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[core] split status and execMode (LOCAL/EXTERN)
This commit is contained in:
parent
1cd4034784
commit
c488d73551
3 changed files with 42 additions and 22 deletions
|
@ -104,8 +104,7 @@ Item {
|
|||
state: modelData.statusName
|
||||
states: [
|
||||
State { name: "NONE"; PropertyChanges { target: chunkDelegate; color: "transparent"} },
|
||||
State { name: "SUBMITTED_EXTERN"; PropertyChanges { target: chunkDelegate; color: "#2196F3"} },
|
||||
State { name: "SUBMITTED_LOCAL"; PropertyChanges { target: chunkDelegate; color: "#009688"} },
|
||||
State { name: "SUBMITTED"; PropertyChanges { target: chunkDelegate; color: modelData.execModeName == "LOCAL" ? "#009688" : "#2196F3"} },
|
||||
State { name: "RUNNING"; PropertyChanges { target: chunkDelegate; color: "#FF9800"} },
|
||||
State { name: "ERROR"; PropertyChanges { target: chunkDelegate; color: "#F44336"} },
|
||||
State { name: "SUCCESS"; PropertyChanges { target: chunkDelegate; color: "#4CAF50"} }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue