Warning, /pim/itinerary/src/app/WelcomePage.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
0003
0004 SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006
0007 import QtQuick
0008 import QtQuick.Layouts
0009 import QtQuick.Controls as QQC2
0010 import QtPositioning
0011 import org.kde.kirigami as Kirigami
0012 import org.kde.itinerary
0013
0014 Kirigami.ScrollablePage {
0015 id: root
0016 title: ReservationManager.isEmpty() ? i18n("Welcome!") : i18n("Help")
0017
0018 ColumnLayout {
0019 Kirigami.Heading {
0020 text: i18n("How to import data?")
0021 Layout.fillWidth: true
0022 wrapMode: Text.WordWrap
0023 }
0024 QQC2.Label {
0025 Layout.fillWidth: true
0026 text: i18n("<p>There's a number of ways to import data into KDE Itinerary:<ul><li>Directly opening PDF tickets or Apple Wallet passes.</li><li>From the Android calendar, for entries made via the KMail or Nextcloud Itinerary plugins, and synced using DAVx⁵.</li><li>Via KDE Connect from the KMail Itinerary plugin.</li><li>By scanning boarding pass barcodes and pasting their content.</li></p>")
0027 wrapMode: Text.WordWrap
0028 }
0029
0030 Kirigami.Heading {
0031 text: i18n("Check the settings!")
0032 Layout.fillWidth: true
0033 wrapMode: Text.WordWrap
0034 }
0035 QQC2.Label {
0036 Layout.fillWidth: true
0037 text: i18n("KDE Itinerary has all features disabled by default that require online access, such as retrieving live traffic data or weather forecasts. You therefore might want to review these settings. While you are at it, you might want to configure your home location to enable the transfer assistant to automatically suggests ways to your next departure station or airport.")
0038 wrapMode: Text.WordWrap
0039 }
0040 QQC2.Button {
0041 text: i18n("Settings...")
0042 onClicked: applicationWindow().pageStack.layers.push(Qt.createComponent("org.kde.itinerary", "SettingsPage"))
0043 icon.name: "settings-configure"
0044 Layout.alignment: Qt.AlignCenter
0045 }
0046
0047 Kirigami.Heading {
0048 text: i18n("More information")
0049 Layout.fillWidth: true
0050 wrapMode: Text.WordWrap
0051 }
0052 QQC2.Label {
0053 Layout.fillWidth: true
0054 text: i18n("For more information about KDE Itinerary check out the <a href=\"https://community.kde.org/KDE_PIM/KDE_Itinerary\">wiki page</a>.")
0055 wrapMode: Text.WordWrap
0056 onLinkActivated: Qt.openUrlExternally(link)
0057 }
0058
0059
0060 QQC2.Button {
0061 text: i18n("Got it!")
0062 onClicked: applicationWindow().pageStack.goBack();
0063 Layout.alignment: Qt.AlignRight
0064 visible: ReservationManager.isEmpty()
0065 }
0066 }
0067 }