shift-shell/initialstart/modules/finished/contents/ui/main.qml
Devin Lin 5c0fd57600 initialstart: Add first login experience
Adds an experience for users on first login, allowing some basic configuration.

This is separate from a first start wizard, which would run as a separate user with elevated permissions, and include options that an installer would have.
2023-04-01 07:09:57 +00:00

36 lines
925 B
QML

// 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
import org.kde.kirigami 2.20 as Kirigami
Item {
id: root
property string name: i18n("Complete!")
ColumnLayout {
anchors.fill: parent
anchors.margins: Kirigami.Units.gridUnit
Label {
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
text: i18n("Your device is now ready. <br /><br />Enjoy <b>Plasma 6.0</b>!")
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
}
Item { Layout.fillHeight: true }
Image {
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
fillMode: Image.PreserveAspectFit
source: "konqi-calling.png"
}
}
}