mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: add context menu to Theme Test
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d9d1b58e6a
commit
45b0554a67
1 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,18 @@ import QtQuick.Layouts 1.1
|
|||
import org.kde.plasma.mobilecomponents 0.2 as MobileComponents
|
||||
|
||||
MobileComponents.Page {
|
||||
|
||||
contextualActions: [
|
||||
Action {
|
||||
text: "Close Theme info"
|
||||
iconName: "dialog-cancel"
|
||||
onTriggered: {
|
||||
stackView.pop()
|
||||
contextDrawer.close()
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
GridLayout {
|
||||
id: themetest
|
||||
columns: 2
|
||||
|
|
Loading…
Add table
Reference in a new issue