From 792ef009996f1eea5deba38c2f630655fa4f56dd Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 19 Feb 2024 15:16:09 +0100 Subject: [PATCH] Test --- .../devicelist/battery/PageBatteryCells.qml | 45 +++---------------- .../battery/PageBatteryParameters.qml | 13 ------ 2 files changed, 5 insertions(+), 53 deletions(-) diff --git a/pages/settings/devicelist/battery/PageBatteryCells.qml b/pages/settings/devicelist/battery/PageBatteryCells.qml index ed5563c1f..f38e5cb69 100644 --- a/pages/settings/devicelist/battery/PageBatteryCells.qml +++ b/pages/settings/devicelist/battery/PageBatteryCells.qml @@ -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 diff --git a/pages/settings/devicelist/battery/PageBatteryParameters.qml b/pages/settings/devicelist/battery/PageBatteryParameters.qml index 9587f85e1..1c5505e74 100644 --- a/pages/settings/devicelist/battery/PageBatteryParameters.qml +++ b/pages/settings/devicelist/battery/PageBatteryParameters.qml @@ -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")