Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* 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 {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user