summaryrefslogtreecommitdiffstats
path: root/qml/MainForm.ui.qml
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-10-06 12:52:40 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-10-06 12:53:07 +0200
commitaf64f953d4f01a7c7bd3415ff5edfff8d4f7c48d (patch)
treeee6060a549c311ffa02b4a604bd9059f0465b237 /qml/MainForm.ui.qml
downloadMultimedia-af64f953d4f01a7c7bd3415ff5edfff8d4f7c48d.tar.gz
Multimedia-af64f953d4f01a7c7bd3415ff5edfff8d4f7c48d.zip
Initial commit
Diffstat (limited to 'qml/MainForm.ui.qml')
-rw-r--r--qml/MainForm.ui.qml56
1 files changed, 56 insertions, 0 deletions
diff --git a/qml/MainForm.ui.qml b/qml/MainForm.ui.qml
new file mode 100644
index 0000000..dbf5f4e
--- /dev/null
+++ b/qml/MainForm.ui.qml
@@ -0,0 +1,56 @@
+import QtQuick 2.4
+import QtQuick.Controls 1.3
+import QtQuick.Layouts 1.1
+import MultiMediaProgrammierung 1.0
+
+MMScene {
+ id: mainForm
+ width: 640
+ height: 480
+
+ property alias button3: button3
+ property alias button2: button2
+ property alias button1: button1
+ property alias buttonClose: buttonClose
+
+ Rectangle{
+ id: backgroundRect
+ anchors.fill: parent
+ color: "black"
+ }
+
+
+
+ RowLayout {
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.bottom: buttonClose.top
+ anchors.bottomMargin: 0
+
+ Button {
+ id: button1
+ text: qsTr("Press Me 1")
+ }
+
+ Button {
+ id: button2
+ text: qsTr("Press Me 2")
+ }
+
+ Button {
+ id: button3
+ text: qsTr("Press Me 3")
+ }
+ }
+
+ Button {
+ id: buttonClose
+ y: 453
+ text: qsTr("Close")
+ anchors.right: parent.right
+ anchors.rightMargin: 0
+ anchors.left: parent.left
+ anchors.leftMargin: 0
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: 0
+ }
+}