summaryrefslogtreecommitdiffstats
path: root/SampleMediaApp/qml/SampleMediaApp/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'SampleMediaApp/qml/SampleMediaApp/main.qml')
-rw-r--r--SampleMediaApp/qml/SampleMediaApp/main.qml30
1 files changed, 30 insertions, 0 deletions
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
+ }
+ }
+}