mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
800973a920
commit
fac8d5b125
5 changed files with 92 additions and 0 deletions
22
mobile-widgets/qml/DivePlannerEdit.qml
Normal file
22
mobile-widgets/qml/DivePlannerEdit.qml
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
22
mobile-widgets/qml/DivePlannerManager.qml
Normal file
22
mobile-widgets/qml/DivePlannerManager.qml
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
22
mobile-widgets/qml/DivePlannerSetup.qml
Normal file
22
mobile-widgets/qml/DivePlannerSetup.qml
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
22
mobile-widgets/qml/DivePlannerView.qml
Normal file
22
mobile-widgets/qml/DivePlannerView.qml
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue