diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-10 18:28:20 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-10 15:16:52 -0800 |
commit | 5cfa13694c1cbb8954c9629f91f9f56702f21117 (patch) | |
tree | 13e004a748faf9b7c879b71f308a612ee9ab88cb /mobile-widgets/qml | |
parent | 9a0c5df74427fee8a9788fbb20165b03cf389906 (diff) | |
download | subsurface-5cfa13694c1cbb8954c9629f91f9f56702f21117.tar.gz |
statistics/mobile: add variable2 operations combo-box
Copy paste of the other combo boxes.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/StatisticsPage.qml | 18 |
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 |