Skip to content

Commit

Permalink
more fixes for missing Multi tile
Browse files Browse the repository at this point in the history
  • Loading branch information
kwindrem committed Jun 23, 2024
1 parent a44a4a5 commit 6c335e5
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 31 deletions.
14 changes: 11 additions & 3 deletions FileSets/v2.73/OverviewHubEnhanced.qml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,15 @@ OverviewPage {

VBusItem { id: hasDcSystemItem; bind: "com.victronenergy.settings/Settings/SystemSetup/HasDcSystem" }

Component.onCompleted: { discoverServices(); showHelp () }
//Component.onCompleted: { discoverServices(); showHelp () }
onActiveChanged:
{
if (root.active)
{
discoverServices()
showHelp ()
}
}

title: qsTr("Simple Overview")

Expand Down Expand Up @@ -330,8 +338,8 @@ OverviewPage {
top: parent.top; topMargin: 3
}
inverterService: root.inverterService
opacity: showAcInput ? 1 : disabledTileOpacity
visible: showAcInput || showInactiveTiles
opacity: showInverter ? 1 : disabledTileOpacity
visible: showInverter || showInactiveTiles
////// add power bar graph
PowerGaugeMulti
{
Expand Down
16 changes: 10 additions & 6 deletions FileSets/v3.01/OverviewFlowComplex.qml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,14 @@ OverviewPage {
return "hh:mm"
}

Component.onCompleted:
{
discoverServices ()
showHelp ()
//Component.onCompleted: { discoverServices(); showHelp () }
onActiveChanged:
{
if (root.active)
{
discoverServices()
showHelp ()
}
}

title: dcCoupled ? qsTr("DC Coupled overview") : qsTr("AC Coupled overview")
Expand Down Expand Up @@ -359,8 +363,8 @@ OverviewPage {
MultiEnhancedGP {
id: multi
iconId: "overview-inverter-short"
opacity: showAcInput ? 1 : disabledTileOpacity
visible: showAcInput || showInactiveTiles
opacity: showInverter ? 1 : disabledTileOpacity
visible: showInverter || showInactiveTiles
anchors {
horizontalCenter: parent.horizontalCenter
top: acInBox.top
Expand Down
14 changes: 11 additions & 3 deletions FileSets/v3.01/OverviewHubEnhanced.qml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,15 @@ OverviewPage {

VBusItem { id: hasDcSystemItem; bind: "com.victronenergy.settings/Settings/SystemSetup/HasDcSystem" }

Component.onCompleted: { discoverServices(); showHelp () }
//Component.onCompleted: { discoverServices(); showHelp () }
onActiveChanged:
{
if (root.active)
{
discoverServices()
showHelp ()
}
}

title: qsTr("Simple Overview")

Expand Down Expand Up @@ -337,8 +345,8 @@ OverviewPage {
horizontalCenter: parent.horizontalCenter
top: parent.top; topMargin: 3
}
opacity: showAcInput ? 1 : disabledTileOpacity
visible: showAcInput || showInactiveTiles
opacity: showInverter ? 1 : disabledTileOpacity
visible: showInverter || showInactiveTiles
inverterService: root.inverterService
////// add power bar graph
PowerGaugeMulti
Expand Down
16 changes: 10 additions & 6 deletions FileSets/v3.40~30/OverviewFlowComplex.qml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,14 @@ OverviewPage {
return "hh:mm"
}

Component.onCompleted:
{
discoverServices ()
showHelp ()
//Component.onCompleted: { discoverServices(); showHelp () }
onActiveChanged:
{
if (root.active)
{
discoverServices()
showHelp ()
}
}

title: dcCoupled ? qsTr("DC Coupled overview") : qsTr("AC Coupled overview")
Expand Down Expand Up @@ -359,8 +363,8 @@ OverviewPage {
MultiEnhancedGP {
id: multi
iconId: "overview-inverter-short"
opacity: showAcInput ? 1 : disabledTileOpacity
visible: showAcInput || showInactiveTiles
opacity: showInverter ? 1 : disabledTileOpacity
visible: showInverter || showInactiveTiles
anchors {
horizontalCenter: parent.horizontalCenter
top: acInBox.top
Expand Down
14 changes: 11 additions & 3 deletions FileSets/v3.40~30/OverviewHubEnhanced.qml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,15 @@ OverviewPage {

VBusItem { id: hasDcSystemItem; bind: "com.victronenergy.settings/Settings/SystemSetup/HasDcSystem" }

Component.onCompleted: { discoverServices(); showHelp () }
//Component.onCompleted: { discoverServices(); showHelp () }
onActiveChanged:
{
if (root.active)
{
discoverServices()
showHelp ()
}
}

title: qsTr("Simple Overview")

Expand Down Expand Up @@ -337,8 +345,8 @@ OverviewPage {
top: parent.top; topMargin: 3
}
inverterService: root.inverterService
opacity: showAcInput ? 1 : disabledTileOpacity
visible: showAcInput || showInactiveTiles
opacity: showInverter ? 1 : disabledTileOpacity
visible: showInverter || showInactiveTiles
////// add power bar graph
PowerGaugeMulti
{
Expand Down
16 changes: 10 additions & 6 deletions FileSets/v3.40~8/OverviewFlowComplex.qml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,14 @@ OverviewPage {
return "hh:mm"
}

Component.onCompleted:
{
discoverServices ()
showHelp ()
//Component.onCompleted: { discoverServices(); showHelp () }
onActiveChanged:
{
if (root.active)
{
discoverServices()
showHelp ()
}
}

title: dcCoupled ? qsTr("DC Coupled overview") : qsTr("AC Coupled overview")
Expand Down Expand Up @@ -359,8 +363,8 @@ OverviewPage {
MultiEnhancedGP {
id: multi
iconId: "overview-inverter-short"
opacity: showAcInput ? 1 : disabledTileOpacity
visible: showAcInput || showInactiveTiles
opacity: showInverter ? 1 : disabledTileOpacity
visible: showInverter || showInactiveTiles
anchors {
horizontalCenter: parent.horizontalCenter
top: acInBox.top
Expand Down
14 changes: 11 additions & 3 deletions FileSets/v3.40~8/OverviewHubEnhanced.qml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,15 @@ OverviewPage {

VBusItem { id: hasDcSystemItem; bind: "com.victronenergy.settings/Settings/SystemSetup/HasDcSystem" }

Component.onCompleted: { discoverServices(); showHelp () }
//Component.onCompleted: { discoverServices(); showHelp () }
onActiveChanged:
{
if (root.active)
{
discoverServices()
showHelp ()
}
}

title: qsTr("Simple Overview")

Expand Down Expand Up @@ -337,8 +345,8 @@ OverviewPage {
top: parent.top; topMargin: 3
}
inverterService: root.inverterService
opacity: showAcInput ? 1 : disabledTileOpacity
visible: showAcInput || showInactiveTiles
opacity: showInverter ? 1 : disabledTileOpacity
visible: showInverter || showInactiveTiles
////// add power bar graph
PowerGaugeMulti
{
Expand Down
3 changes: 3 additions & 0 deletions changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v10.47:
more fixes for missing Multi tile

v10.46:
add support for v3.40~30

Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10.46
v10.44

0 comments on commit 6c335e5

Please sign in to comment.