mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
51 lines
1.2 KiB
QML
51 lines
1.2 KiB
QML
|
import QtQuick 2.3
|
||
|
import QtQuick.Controls 1.2
|
||
|
import QtQuick.Layouts 1.1
|
||
|
import org.kde.plasma.mobilecomponents 0.2 as MobileComponents
|
||
|
import org.subsurfacedivelog.mobile 1.0
|
||
|
|
||
|
|
||
|
GridLayout {
|
||
|
columns: 2
|
||
|
width: parent.width - MobileComponents.Units.gridUnit
|
||
|
anchors {
|
||
|
fill: parent
|
||
|
margins: MobileComponents.Units.gridUnit / 2
|
||
|
}
|
||
|
|
||
|
MobileComponents.Heading {
|
||
|
text: "About"
|
||
|
Layout.bottomMargin: MobileComponents.Units.largeSpacing / 2
|
||
|
Layout.columnSpan: 2
|
||
|
Layout.alignment: Qt.AlignLeft
|
||
|
}
|
||
|
|
||
|
Image {
|
||
|
source:"qrc:/qml/subsurface-mobile-icon.png"
|
||
|
}
|
||
|
|
||
|
MobileComponents.Heading {
|
||
|
text: "A mobile version of Subsurface divelog software.\nView your dive logs while on the go."
|
||
|
level: 3
|
||
|
Layout.topMargin: MobileComponents.Units.largeSpacing
|
||
|
Layout.bottomMargin: MobileComponents.Units.largeSpacing / 2
|
||
|
Layout.columnSpan: 2
|
||
|
}
|
||
|
|
||
|
MobileComponents.Label {
|
||
|
text: "Version: " + manager.getVersion()
|
||
|
}
|
||
|
|
||
|
MobileComponents.Heading {
|
||
|
text: "\n\n© Subsurface developer team, 2016"
|
||
|
level: 3
|
||
|
Layout.topMargin: MobileComponents.Units.largeSpacing
|
||
|
Layout.bottomMargin: MobileComponents.Units.largeSpacing / 2
|
||
|
Layout.columnSpan: 2
|
||
|
}
|
||
|
|
||
|
Item {
|
||
|
Layout.fillHeight: true
|
||
|
}
|
||
|
}
|