/*SPDX-FileCopyrightText: 2021 Cyril Rossi <cyril.rossi@enioka.com>SPDX-License-Identifier: LGPL-2.0-or-later*/import QtQuick 2.15import QtQuick.Controls 2.4 as QQC2import QtQuick.Layouts 1.3import QtQuick.Window 2.15import org.kde.kirigami 2.13 as Kirigamiimport "shellcontainmentconfiguration"Kirigami.AbstractApplicationWindow {id: roottitle: i18nd("plasma_shell_org.kde.plasma.desktop", "Panels and Desktops Management")width: Kirigami.Units.gridUnit * 40height: Kirigami.Units.gridUnit * 32minimumWidth: Kirigami.Units.gridUnit * 30minimumHeight: Kirigami.Units.gridUnit * 25header: QQC2.ToolBar {anchors {left: parent.leftright: parent.right}contentItem: QQC2.Label {Layout.fillWidth: parenttext: i18nd("plasma_shell_org.kde.plasma.desktop", "You can drag Panels and Desktops around to move them to different screens.")horizontalAlignment: Text.AlignHCenterwrapMode: Text.WordWrap}}footer: QQC2.Control {contentItem: QQC2.DialogButtonBox {QQC2.Button {text: i18nd("plasma_shell_org.kde.plasma.desktop", "Close")onClicked: Window.window.close()}}background: Item {// FIXME: automate that somehow?Kirigami.Separator {anchors {left: parent.lefttop: parent.topright: parent.right}visible: mainPage.flickable.contentHeight > mainPage.flickable.height}}}Kirigami.ScrollablePage {id: mainPageanchors.fill: parentleftPadding: 0topPadding: 0rightPadding: 0bottomPadding: 0Flow {id: mainGridwidth: mainPage.flickable.widthspacing: 0Repeater {id: repeatermodel: ShellContainmentModeldelegate: Delegate {viewPort: mainPage}}}}}