shift-shell/initialstart/modules/finished/contents/ui/main.qml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.2 KiB
QML
Raw Normal View History

// SPDX-FileCopyrightText: 2023 Devin Lin <devin@kde.org>
// SPDX-License-Identifier: GPL-2.0-or-later
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
2023-11-06 05:27:44 +00:00
import org.kde.kirigami as Kirigami
2023-11-06 05:27:44 +00:00
import org.kde.plasma.mobileinitialstart.initialstart
InitialStartModule {
name: i18n("Complete!")
contentItem: Item {
id: root
ColumnLayout {
anchors.fill: parent
anchors.margins: Kirigami.Units.gridUnit
spacing: Kirigami.Units.gridUnit
Item { Layout.fillHeight: true }
Kirigami.Icon {
Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: Kirigami.Units.iconSizes.huge
Layout.preferredHeight: Kirigami.Units.iconSizes.huge
source: "start-here-shift"
}
Label {
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
text: i18n("Your device is ready. <br /><br />SHIFT will start with the <b>%1</b> experience.", SetupState.experienceProfile)
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
}
Item { Layout.fillHeight: true }
}
}
}