mobile-widgets/qml: add diveplanner pages

Diveplanner consist of 3 pages:
- Edit, creation of the plan
- View, view the plan
- Manager, list/delete/select stored diveplans

With the current navigation system (pageStack)
View needs to be split in multiple pages.

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-11-23 20:44:23 +01:00 committed by Dirk Hohndel
parent 800973a920
commit fac8d5b125
5 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,22 @@
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.12
import QtQuick.Dialogs 1.3
import org.subsurfacedivelog.mobile 1.0
import org.kde.kirigami 2.4 as Kirigami
Kirigami.ScrollablePage {
title: qsTr("Dive planner edit")
ColumnLayout {
width: parent.width
spacing: 1
Layout.margins: 10
Text {
text: "Dive planner edit"
}
}
}

View file

@ -0,0 +1,22 @@
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.12
import QtQuick.Dialogs 1.3
import org.subsurfacedivelog.mobile 1.0
import org.kde.kirigami 2.4 as Kirigami
Kirigami.ScrollablePage {
title: qsTr("Dive planner manager")
ColumnLayout {
width: parent.width
spacing: 1
Layout.margins: 10
Text {
text: "Dive planner manager"
}
}
}

View file

@ -0,0 +1,22 @@
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.12
import QtQuick.Dialogs 1.3
import org.subsurfacedivelog.mobile 1.0
import org.kde.kirigami 2.4 as Kirigami
Kirigami.ScrollablePage {
title: qsTr("Dive planner setup")
ColumnLayout {
width: parent.width
spacing: 1
Layout.margins: 10
Text {
text: "Dive planner setup"
}
}
}

View file

@ -0,0 +1,22 @@
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.12
import QtQuick.Dialogs 1.3
import org.subsurfacedivelog.mobile 1.0
import org.kde.kirigami 2.4 as Kirigami
Kirigami.ScrollablePage {
title: qsTr("Dive planner view")
ColumnLayout {
width: parent.width
spacing: 1
Layout.margins: 10
Text {
text: "Dive planner view"
}
}
}

View file

@ -17,6 +17,10 @@
<file>DiveList.qml</file>
<file>DownloadFromDiveComputer.qml</file>
<file>DownloadedDiveDelegate.qml</file>
<file>DivePlannerEdit.qml</file>
<file>DivePlannerManager.qml</file>
<file>DivePlannerSetup.qml</file>
<file>DivePlannerView.qml</file>
<file>Export.qml</file>
<file>GpsList.qml</file>
<file>HintsTextEdit.qml</file>