summaryrefslogtreecommitdiffstats
path: root/qml/MainForm.ui.qml
blob: dbf5f4e35fbdac4dad6dbc8e7568f69e3e18f0e2 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
    }
}