blob: 7d63362855bb8a35ab13650ab02c129302359a26 (
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
28
29
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
}
}
}
|