Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-manuel committed Feb 19, 2024
1 parent f73d4d5 commit 792ef00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 53 deletions.
45 changes: 5 additions & 40 deletions pages/settings/devicelist/battery/PageBatteryCells.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,64 +20,29 @@ Page {
ListItem {
text: "Custom item"

RowLayout {
anchors.fill: parent
content.children: [

Column {
Layout.fillWidth: true
Text { text: batteryCellVoltageSum.value }
Text { text: "Sum" }
}

Rectangle {
id: separator

anchors {
right: parent.right
rightMargin: -root.content.spacing / 2
}
width: Theme.geometry_listItem_separator_width
height: parent.implicitHeight
color: Theme.color_listItem_separator
visible: model.index !== repeater.count - 1
}

},
Column {
Layout.fillWidth: true
Text { text: batteryCellVoltageDiff.value }
Text { text: "Diff" }
}

Rectangle {
id: separator

anchors {
right: parent.right
rightMargin: -root.content.spacing / 2
}
width: Theme.geometry_listItem_separator_width
height: parent.implicitHeight
color: Theme.color_listItem_separator
visible: model.index !== repeater.count - 1
}

},
Column {
Layout.fillWidth: true
Text { text: batteryMaxCellVoltage.value }
Text { text: "Max" }
}
Rectangle { // Separator
width: 1
color: "gray"
Layout.fillHeight: true
}

},
Column {
Layout.fillWidth: true
Text { text: batteryMinCellVoltage.value }
Text { text: "Min" }
}
}
]

VeQuickItem {
id: batteryMinCellVoltage
Expand Down
13 changes: 0 additions & 13 deletions pages/settings/devicelist/battery/PageBatteryParameters.qml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,6 @@ Page {
}
}

ListItem {
text: "Charge Mode Debug 2"

bottomContentChildren: [
ListItem {
topPadding: 0
bottomPadding: 0
color: Theme.color_font_secondary
dataItem.uid: root.bindPrefix + "/Info/ChargeModeDebug"
}
]
}

ListQuantityItem {
//% "Charge Voltage Limit (CVL)"
text: qsTrId("batteryparameters_charge_voltage_limit_cvl")
Expand Down

0 comments on commit 792ef00

Please sign in to comment.