diff options
Diffstat (limited to 'shell/qml/bg.qml')
-rw-r--r-- | shell/qml/bg.qml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/shell/qml/bg.qml b/shell/qml/bg.qml new file mode 100644 index 0000000..9c8aedb --- /dev/null +++ b/shell/qml/bg.qml @@ -0,0 +1,27 @@ +import QtQuick 2.2 +import QtQuick.Window 2.11 +import QtQuick.Layouts 1.1 + +Window { + visible: true + flags: Qt.FramelessWindowHint + + //width: Screen.width + width: 300 + //height: Screen.height + height: 400 + + title: 'HomeScreen bg' + + color: 'red' + + property string appid: 'naq-activate' + + MouseArea { + anchors.fill: parent + onClicked: { + console.log('activating ' + appid) + shell.activate_app(Window.window, appid) + } + } +} |