2015-11-07 00:45:40 +00:00
|
|
|
import QtQuick 2.5
|
|
|
|
import QtQuick.Controls 1.2
|
2016-01-20 06:32:37 +00:00
|
|
|
import QtQuick.Controls.Styles 1.2
|
2015-11-07 00:45:40 +00:00
|
|
|
import QtQuick.Layouts 1.1
|
2015-11-29 16:27:20 +00:00
|
|
|
import org.kde.plasma.mobilecomponents 0.2 as MobileComponents
|
2016-01-20 06:32:37 +00:00
|
|
|
import org.subsurfacedivelog.mobile 1.0
|
2015-11-07 00:45:40 +00:00
|
|
|
|
|
|
|
Item {
|
|
|
|
ColumnLayout {
|
|
|
|
id: startpage
|
2016-02-10 23:49:28 +00:00
|
|
|
width: subsurfaceTheme.columnWidth
|
2015-11-07 00:45:40 +00:00
|
|
|
anchors.fill: parent
|
2015-12-08 01:08:37 +00:00
|
|
|
anchors.margins: MobileComponents.Units.gridUnit / 2
|
2015-11-07 00:45:40 +00:00
|
|
|
|
2016-01-20 06:32:37 +00:00
|
|
|
property int buttonWidth: width * 0.9
|
2015-11-07 00:45:40 +00:00
|
|
|
|
2015-12-04 00:19:11 +00:00
|
|
|
MobileComponents.Heading {
|
2015-11-29 16:27:20 +00:00
|
|
|
Layout.bottomMargin: MobileComponents.Units.largeSpacing
|
2016-02-10 23:49:28 +00:00
|
|
|
text: "Subsurface-mobile"
|
2015-11-07 00:45:40 +00:00
|
|
|
}
|
2015-11-29 16:27:20 +00:00
|
|
|
MobileComponents.Label {
|
2016-02-10 23:49:28 +00:00
|
|
|
id: explanationText
|
2015-11-07 00:45:40 +00:00
|
|
|
Layout.fillWidth: true
|
2015-11-29 16:27:20 +00:00
|
|
|
Layout.bottomMargin: MobileComponents.Units.largeSpacing
|
2016-02-10 23:49:28 +00:00
|
|
|
text: "In order to use Subsurface-mobile you need to have a Subsurface cloud storage account " +
|
|
|
|
"(which can be created with the Subsurface desktop application)."
|
2015-11-07 00:45:40 +00:00
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
}
|
2016-02-10 23:49:28 +00:00
|
|
|
MobileComponents.Label {
|
|
|
|
id: messageArea
|
|
|
|
Layout.fillWidth: true
|
|
|
|
text: manager.startPageText
|
|
|
|
wrapMode: Text.WordWrap
|
2015-11-07 00:45:40 +00:00
|
|
|
}
|
2016-02-10 23:49:28 +00:00
|
|
|
CloudCredentials {
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.margins: MobileComponents.Units.gridUnit
|
|
|
|
Layout.topMargin: MobileComponents.Units.gridUnit * 2
|
|
|
|
visible: true
|
|
|
|
property int headingLevel: 3
|
2015-11-07 00:45:40 +00:00
|
|
|
}
|
|
|
|
Item {
|
2016-02-10 23:49:28 +00:00
|
|
|
id: spacer
|
2015-11-07 00:45:40 +00:00
|
|
|
width: parent.width
|
|
|
|
Layout.fillHeight: true
|
|
|
|
}
|
|
|
|
}
|
2015-12-03 22:06:52 +00:00
|
|
|
}
|