summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/StatisticsPage.qml18
1 files changed, 18 insertions, 0 deletions
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