|
17 | 17 | property bool inputMode |
18 | 18 | property int orientation: Qt.Vertical |
19 | 19 | property bool animationEnabled |
| 20 | + property bool inOverviewWidget |
20 | 21 |
|
21 | 22 | readonly property real _longEdgeLength: orientation === Qt.Vertical ? height : width |
22 | 23 | readonly property real _delegateLength: (_longEdgeLength - (spacing * (phaseRepeater.count - 1))) / phaseRepeater.count |
|
67 | 68 | id: cheapGauge |
68 | 69 | CheapBarGauge { |
69 | 70 | foregroundColor: Theme.color_darkOk,gaugeLoader.feedingToGrid ? Theme.color_green : Theme.statusColorValue(valueStatus) |
70 | | - backgroundColor: Theme.color_darkOk,gaugeLoader.feedingToGrid ? Theme.color_darkGreen : Theme.statusColorValue(valueStatus, true) |
| 71 | + backgroundColor: Theme.color_darkOk,gaugeLoader.feedingToGrid ? Theme.color_darkGreen |
| 72 | + : root.inOverviewWidget && valueStatus === Theme.Ok ? Theme.color_darkishBlue |
| 73 | + : Theme.statusColorValue(valueStatus, true) |
71 | 74 | valueType: root.valueType |
72 | 75 | value: valueRange.valueAsRatio |
73 | 76 | orientation: root.orientation |
|
79 | 82 | id: prettyGauge |
80 | 83 | BarGauge { |
81 | 84 | foregroundColor: Theme.color_darkOk,gaugeLoader.feedingToGrid ? Theme.color_green : Theme.statusColorValue(valueStatus) |
82 | | - backgroundColor: Theme.color_darkOk,gaugeLoader.feedingToGrid ? Theme.color_darkGreen : Theme.statusColorValue(valueStatus, true) |
| 85 | + backgroundColor: Theme.color_darkOk,gaugeLoader.feedingToGrid ? Theme.color_darkGreen |
| 86 | + : root.inOverviewWidget && valueStatus === Theme.Ok ? Theme.color_darkishBlue |
| 87 | + : Theme.statusColorValue(valueStatus, true) |
83 | 88 | valueType: root.valueType |
84 | 89 | value: valueRange.valueAsRatio |
85 | 90 | orientation: root.orientation |
|
0 commit comments