statistics/mobile: add variable2 operations combo-box

Copy paste of the other combo boxes.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-01-10 18:28:20 +01:00 committed by Dirk Hohndel
parent 9a0c5df744
commit 5cfa13694c
3 changed files with 37 additions and 0 deletions

View file

@ -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