aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/About.qml
blob: f8e57a7f5482619c8aac43e6de525232a455ef4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
	}
}