aboutsummaryrefslogtreecommitdiffstats
path: root/shell/qml/bg.qml
blob: 9c8aedb02f6b297774418653dbd45bc1ff33b52b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)
		}
	}
}