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,83 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2016 Aleix Pol Gonzalez <aleixpol@kde.org>
|
||||
* SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
|
||||
*
|
||||
* SPDX-License-Identifier: LGPL-2.0-or-later
|
||||
*/
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Controls as QQC2
|
||||
import org.kde.kirigami as Kirigami
|
||||
|
||||
Kirigami.ApplicationWindow {
|
||||
id: main
|
||||
|
||||
pageStack.initialPage: Kirigami.Page {
|
||||
QQC2.Button {
|
||||
text: "button"
|
||||
onClicked: menu.popup()
|
||||
QQC2.Menu {
|
||||
id: menu
|
||||
|
||||
QQC2.MenuItem { text: "xxx" }
|
||||
QQC2.MenuItem { text: "xxx" }
|
||||
QQC2.Menu {
|
||||
title: "yyy"
|
||||
QQC2.MenuItem { text: "yyy" }
|
||||
QQC2.MenuItem { text: "yyy" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
title: "aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaa"
|
||||
|
||||
QQC2.ActionGroup {
|
||||
id: group
|
||||
}
|
||||
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: "submenus"
|
||||
icon.name: "kalgebra"
|
||||
|
||||
Kirigami.Action { text: "xxx"; onTriggered: console.log("xxx") }
|
||||
Kirigami.Action { text: "xxx"; onTriggered: console.log("xxx") }
|
||||
Kirigami.Action { text: "xxx"; onTriggered: console.log("xxx") }
|
||||
Kirigami.Action {
|
||||
text: "yyy"
|
||||
Kirigami.Action { text: "yyy" }
|
||||
Kirigami.Action { text: "yyy" }
|
||||
Kirigami.Action { text: "yyy" }
|
||||
Kirigami.Action { text: "yyy" }
|
||||
}
|
||||
},
|
||||
Kirigami.Action {
|
||||
id: optionsAction
|
||||
text: "Options"
|
||||
icon.name: "kate"
|
||||
|
||||
Kirigami.Action {
|
||||
QQC2.ActionGroup.group: group
|
||||
text: "A"
|
||||
checkable: true
|
||||
checked: true
|
||||
}
|
||||
Kirigami.Action {
|
||||
QQC2.ActionGroup.group: group
|
||||
text: "B"
|
||||
checkable: true
|
||||
}
|
||||
Kirigami.Action {
|
||||
QQC2.ActionGroup.group: group
|
||||
text: "C"
|
||||
checkable: true
|
||||
}
|
||||
},
|
||||
Kirigami.Action { text: "stuffing..." },
|
||||
Kirigami.Action { text: "stuffing..." },
|
||||
Kirigami.Action { text: "stuffing..." },
|
||||
Kirigami.Action { text: "stuffing..." },
|
||||
Kirigami.Action { text: "stuffing..." }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user