mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-11 08:57:21 +00:00
Detect the device class, stage the selected experience, and write the resulting setup choices through SetupState. Load the new device and experience modules before the existing setup pages, and use the Shift icon on the finished page.
28 lines
874 B
QML
28 lines
874 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 QtQuick.Window 2.15
|
|
|
|
import org.kde.kirigami as Kirigami
|
|
|
|
import initialstart 1.0 as InitialStart
|
|
|
|
Kirigami.ApplicationWindow {
|
|
id: root
|
|
|
|
minimumWidth: Kirigami.Units.gridUnit * 20
|
|
minimumHeight: Kirigami.Units.gridUnit * 28
|
|
width: Math.min(Screen.width, Math.max(Kirigami.Units.gridUnit * 24, Screen.width * 0.42))
|
|
height: Math.min(Screen.height, Math.max(Kirigami.Units.gridUnit * 36, Screen.height * 0.78))
|
|
visibility: "Windowed"
|
|
|
|
title: i18n("SHIFT Initial Setup")
|
|
|
|
pageStack.globalToolBar.style: Kirigami.ApplicationHeaderStyle.None
|
|
pageStack.columnView.columnResizeMode: Kirigami.ColumnView.SingleColumn
|
|
|
|
pageStack.initialPage: Wizard {}
|
|
}
|