From 1876ff11a182afb1cf0180f188a2e13ad7b8095c Mon Sep 17 00:00:00 2001 From: "Bocklage, Jens" Date: Fri, 4 Nov 2016 17:23:50 +0100 Subject: Add two sample apps just to have some Qt based applications that can be launched. Nav is Qt widget based. Media is QML based. Signed-off-by: Bocklage, Jens --- SampleMediaApp/qml/SampleMediaApp/main.qml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 SampleMediaApp/qml/SampleMediaApp/main.qml (limited to 'SampleMediaApp/qml') diff --git a/SampleMediaApp/qml/SampleMediaApp/main.qml b/SampleMediaApp/qml/SampleMediaApp/main.qml new file mode 100644 index 0000000..7d63362 --- /dev/null +++ b/SampleMediaApp/qml/SampleMediaApp/main.qml @@ -0,0 +1,30 @@ +import QtQuick 2.0 + +Rectangle { + width: 400 + height: 300 + + + Rectangle { + width: parent.width / 2 + height: parent.height + color: "yellow" + + Text { + text: qsTr("SampleMediaApp") + anchors.centerIn: parent + } + } + + Rectangle { + width: parent.width / 2 + height: parent.height + x: parent.width / 2 + color: "yellow" + + Text { + text: qsTr("default size: 400x300px") + anchors.centerIn: parent + } + } +} -- cgit