|
1 | | ---- /Users/Kevin/GitHub/GuiMods.copy/FileSets/PatchSource/Main.qml-v3.70~71.orig 2025-12-23 15:01:36 |
2 | | -+++ /Users/Kevin/GitHub/GuiMods.copy/FileSets/PatchSource/Main.qml-v3.70~71 2025-12-23 22:10:17 |
| 1 | +--- /Users/Kevin/GitHub/GuiMods.copy/FileSets/PatchSource/Main.qml-v3.70.orig 2025-12-23 15:01:36 |
| 2 | ++++ /Users/Kevin/GitHub/GuiMods.copy/FileSets/PatchSource/Main.qml-v3.70 2026-03-20 15:21:38 |
3 | 3 | @@ -14,7 +14,8 @@ |
4 | 4 | property bool completed: false |
5 | 5 | property bool alarm: alarmNotification.valid ? alarmNotification.value : 0 |
|
10 | 10 | property string bindPrefix: "com.victronenergy.settings" |
11 | 11 |
|
12 | 12 | property bool isNotificationPage: pageStack.currentItem && pageStack.currentItem.title === qsTr("Notifications") |
13 | | -@@ -25,19 +26,154 @@ |
| 13 | +@@ -25,19 +26,167 @@ |
14 | 14 | property bool showInputLoads: theSystem.acInLoad.power.valid && (hasVebusEss ? (theSystem.hasGridMeter && withoutGridMeter.value === 0) : theSystem.hasGridMeter) |
15 | 15 | property int newUiAnnouncementVersion: 2 // Increase to make the popup appear again |
16 | 16 |
|
|
111 | 111 | + onValueChanged: extraOverview ("OverviewTiles.qml", value === 1) |
112 | 112 | + } |
113 | 113 | + |
| 114 | ++////// GuiMods - show/hide the OverviewRelays page |
| 115 | ++ VBusItem { |
| 116 | ++ id: showOverviewRelays |
| 117 | ++ bind: "com.victronenergy.settings/Settings/GuiMods/ShowRelayOverview" |
| 118 | ++ onValueChanged: extraOverview ("OverviewRelays.qml", value === 1) |
| 119 | ++ } |
| 120 | ++ |
| 121 | ++////// GuiMods - show/hide the Overview Tanks/Temps/Digital Inputs page |
| 122 | ++ VBusItem { |
| 123 | ++ id: showOverviewTanksTemps |
| 124 | ++ bind: "com.victronenergy.settings/Settings/GuiMods/ShowTanksTempsDigIn" |
| 125 | ++ onValueChanged: extraOverview ("OverviewTanksTempsDigInputs.qml", value === 1) |
| 126 | ++ } |
114 | 127 | + |
115 | 128 | + function selectGeneratorOverview () |
116 | 129 | + { |
|
170 | 183 | header: VeStatusBar { |
171 | 184 | id: statusBar |
172 | 185 |
|
173 | | -@@ -69,12 +205,6 @@ |
| 186 | +@@ -69,12 +218,6 @@ |
174 | 187 | } |
175 | 188 |
|
176 | 189 | VBusItem { |
|
183 | 196 | bind: "com.victronenergy.generator.startstop1/GensetProductId" |
184 | 197 | onValueChanged: { |
185 | 198 | // Show specific overview for FischerPanda |
186 | | -@@ -91,12 +221,11 @@ |
| 199 | +@@ -91,12 +234,11 @@ |
187 | 200 | } |
188 | 201 | } |
189 | 202 |
|
|
198 | 211 | } |
199 | 212 | VBusItem { |
200 | 213 | id: tanksOverview |
201 | | -@@ -200,82 +329,109 @@ |
| 214 | +@@ -200,82 +342,109 @@ |
202 | 215 | width: parent.width |
203 | 216 | anchors.bottom: parent.bottom |
204 | 217 |
|
|
207 | 220 | - anchors.left: mbTools.left |
208 | 221 | - height: mbTools.height |
209 | 222 | - width: 200 |
210 | | -- |
211 | | -- MouseArea { |
212 | | -- anchors.fill: parent |
213 | | -- onClicked: { |
214 | | -- if (pageStack.currentItem) |
215 | | -- pageStack.currentItem.toolbarHandler.leftAction(true) |
216 | | -- } |
217 | | -- } |
218 | 223 | +//// GuiMods - DarkMode - add clickable light/dark mode button to center section |
219 | 224 | + Row |
220 | 225 | + { |
|
226 | 231 | + height: mbTools.height |
227 | 232 | + width: 170 |
228 | 233 |
|
229 | | -- Row { |
230 | | -- anchors.centerIn: parent |
231 | | -- |
232 | | -- MbIcon { |
233 | | -- anchors.verticalCenter: parent.verticalCenter |
234 | | -- iconId: pageStack.currentItem ? pageStack.currentItem.leftIcon : "" |
| 234 | +- MouseArea { |
| 235 | +- anchors.fill: parent |
| 236 | +- onClicked: { |
| 237 | +- if (pageStack.currentItem) |
| 238 | +- pageStack.currentItem.toolbarHandler.leftAction(true) |
235 | 239 | + MouseArea { |
236 | 240 | + anchors.fill: parent |
237 | 241 | + onClicked: { |
238 | 242 | + if (pageStack.currentItem) |
239 | 243 | + pageStack.currentItem.toolbarHandler.leftAction(true) |
240 | 244 | + } |
241 | 245 | } |
| 246 | +- } |
| 247 | + |
| 248 | +- Row { |
| 249 | +- anchors.centerIn: parent |
| 250 | ++ Row { |
| 251 | ++ anchors.centerIn: parent |
| 252 | + |
| 253 | +- MbIcon { |
| 254 | +- anchors.verticalCenter: parent.verticalCenter |
| 255 | +- iconId: pageStack.currentItem ? pageStack.currentItem.leftIcon : "" |
| 256 | +- } |
| 257 | ++ MbIcon { |
| 258 | ++ anchors.verticalCenter: parent.verticalCenter |
| 259 | ++ iconId: pageStack.currentItem ? pageStack.currentItem.leftIcon : "" |
| 260 | ++ } |
242 | 261 |
|
243 | 262 | - Text { |
244 | 263 | - anchors.verticalCenter: parent.verticalCenter |
245 | 264 | - text: pageStack.currentItem ? pageStack.currentItem.leftText : "" |
246 | 265 | - color: "white" |
247 | 266 | - font.bold: true |
248 | 267 | - font.pixelSize: 16 |
249 | | -- } |
250 | | -- } |
| 268 | ++ Text { |
| 269 | ++ anchors.verticalCenter: parent.verticalCenter |
| 270 | ++ text: pageStack.currentItem ? pageStack.currentItem.leftText : "" |
| 271 | ++ color: "white" |
| 272 | ++ font.bold: true |
| 273 | ++ font.pixelSize: 16 |
| 274 | ++ } |
| 275 | + } |
| 276 | + } |
251 | 277 | - } |
252 | | -+ Row { |
253 | | -+ anchors.centerIn: parent |
254 | 278 |
|
255 | 279 | - MbIcon { |
256 | 280 | - id: centerScrollIndicator |
257 | | -+ MbIcon { |
258 | | -+ anchors.verticalCenter: parent.verticalCenter |
259 | | -+ iconId: pageStack.currentItem ? pageStack.currentItem.leftIcon : "" |
260 | | -+ } |
261 | | - |
| 281 | +- |
262 | 282 | - anchors { |
263 | 283 | - horizontalCenter: parent.horizontalCenter |
264 | 284 | - verticalCenter: mbTools.verticalCenter |
|
277 | 297 | - onClicked: { |
278 | 298 | - if (pageStack.currentItem) |
279 | 299 | - pageStack.currentItem.toolbarHandler.rightAction(true) |
280 | | -+ Text { |
281 | | -+ anchors.verticalCenter: parent.verticalCenter |
282 | | -+ text: pageStack.currentItem ? pageStack.currentItem.leftText : "" |
283 | | -+ color: "white" |
284 | | -+ font.bold: true |
285 | | -+ font.pixelSize: 16 |
286 | | -+ } |
287 | | - } |
288 | | - } |
289 | | - |
| 300 | +- } |
| 301 | +- } |
| 302 | +- |
290 | 303 | - Row { |
291 | 304 | - anchors.centerIn: parent |
292 | 305 | + Item { |
|
366 | 379 | Component.onCompleted: { |
367 | 380 | completed = true |
368 | 381 | } |
369 | | -@@ -285,9 +441,10 @@ |
| 382 | +@@ -285,9 +454,10 @@ |
370 | 383 | ListElement { |
371 | 384 | pageSource: "OverviewHub.qml" |
372 | 385 | } |
|
380 | 393 | } |
381 | 394 |
|
382 | 395 | Component { |
383 | | -@@ -382,11 +539,19 @@ |
| 396 | +@@ -382,11 +552,19 @@ |
384 | 397 | } |
385 | 398 | } |
386 | 399 |
|
|
0 commit comments