summaryrefslogtreecommitdiff
path: root/metawatchwatchlets/metawatch-digital-watchface.qml
blob: 712dbeb68c7518c3b35896f3a9feb8b8146343cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 1.0
import com.javispedro.sowatch.metawatch 1.0

MWPage {
	// Remember that firmware draws top 30 lines

	Connections {
		target: watch
		onActiveChanged: {
			console.log("watchface is now " + (watch.active ? "active" : "inactive"))
		}
	}

	MWLabel {
		anchors.centerIn: parent
		text: "This is a test"
	}
}