mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: flip through dive computers on mobile
UI fixed by Dirk. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d66376a8f3
commit
7c8dc016b5
5 changed files with 82 additions and 7 deletions
|
@ -210,7 +210,6 @@ Item {
|
|||
color: subsurfaceTheme.textColor
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
GridLayout {
|
||||
id: bottomLayout
|
||||
|
@ -362,7 +361,44 @@ Item {
|
|||
horizontalAlignment: Text.AlignHCenter
|
||||
text: qsTr("No profile to show")
|
||||
}
|
||||
|
||||
// under the profile
|
||||
// -----------------
|
||||
Row {
|
||||
TemplateButton {
|
||||
id: prevDC
|
||||
visible: qmlProfile.numDC > 1
|
||||
text: qsTr("prev.DC")
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
onClicked: {
|
||||
qmlProfile.prevDC()
|
||||
}
|
||||
}
|
||||
TemplateLabel {
|
||||
text: " "
|
||||
width: Kirigami.Units.largeSpacing
|
||||
visible: qmlProfile.numDC > 1
|
||||
}
|
||||
TemplateButton {
|
||||
id: nextDC
|
||||
visible: qmlProfile.numDC > 1
|
||||
text: qsTr("next DC")
|
||||
font.pointSize: subsurfaceTheme.smallPointSize
|
||||
onClicked: {
|
||||
qmlProfile.nextDC()
|
||||
}
|
||||
}
|
||||
}
|
||||
// two empty entries
|
||||
TemplateLabel {
|
||||
text: " "
|
||||
width: Kirigami.Units.largeSpacing
|
||||
visible: qmlProfile.numDC > 1
|
||||
}
|
||||
TemplateLabel {
|
||||
text: " "
|
||||
width: Kirigami.Units.largeSpacing
|
||||
visible: qmlProfile.numDC > 1
|
||||
}
|
||||
// first row
|
||||
//-----------
|
||||
TemplateLabelSmall {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue