mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
9a0c5df744
commit
5cfa13694c
3 changed files with 37 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue