QML UI: add context menu to Theme Test

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-02-12 12:17:43 -08:00
parent d9d1b58e6a
commit 45b0554a67

View file

@ -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