cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
40 lines
955 B
QML
40 lines
955 B
QML
/*
|
|
* SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import org.kde.kirigami as Kirigami
|
|
import QtQuick.Controls as QQC2
|
|
|
|
Kirigami.ApplicationWindow {
|
|
id: root
|
|
|
|
width: Kirigami.Units.gridUnit * 60
|
|
height: Kirigami.Units.gridUnit * 40
|
|
|
|
pageStack.initialPage: mainPageComponent
|
|
globalDrawer: Kirigami.OverlayDrawer {
|
|
drawerOpen: true
|
|
modal: false
|
|
contentItem: Item {
|
|
implicitWidth: Kirigami.Units.gridUnit * 10
|
|
|
|
QQC2.Label {
|
|
text: "This is a sidebar"
|
|
width: parent.width - Kirigami.Units.smallSpacing * 2
|
|
wrapMode: Text.WordWrap
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
}
|
|
}
|
|
}
|
|
|
|
//Main app content
|
|
Component {
|
|
id: mainPageComponent
|
|
MultipleColumnsGallery {}
|
|
}
|
|
}
|