From 5cfa13694c1cbb8954c9629f91f9f56702f21117 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 10 Jan 2021 18:28:20 +0100 Subject: statistics/mobile: add variable2 operations combo-box Copy paste of the other combo boxes. Signed-off-by: Berthold Stoeger --- mobile-widgets/qml/StatisticsPage.qml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'mobile-widgets/qml/StatisticsPage.qml') diff --git a/mobile-widgets/qml/StatisticsPage.qml b/mobile-widgets/qml/StatisticsPage.qml index 7c5b498ca..3fcfdfcc2 100644 --- a/mobile-widgets/qml/StatisticsPage.qml +++ b/mobile-widgets/qml/StatisticsPage.qml @@ -98,6 +98,24 @@ Kirigami.Page { } } } + ColumnLayout { + id: i5 + Layout.column: wide ? 0 : 2 + Layout.row: wide ? 4 : 1 + Layout.margins: Kirigami.Units.smallSpacing + TemplateLabelSmall { + text: qsTr("Operation") + } + TemplateComboBox { + id: var2Operation + model: statsManager.operation2List + currentIndex: statsManager.operation2Index; + Layout.fillWidth: false + onCurrentIndexChanged: { + statsManager.var2OperationChanged(currentIndex) + } + } + } Item { Layout.column: wide ? 0 : 4 Layout.row: wide ? 4 : 0 -- cgit v1.2.3-70-g09d2