summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/References/Look/Layouts/HomeLayout.qml
blob: 375f96894a02cfb542b623b88ea6d05b16d69f5c (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
57
58
59
60
61
import QtQuick 2.0
import com.ford.hmiframework 1.0
import "../Widgets"

FLayout {
    id: home
    width: 800
    height: 480

    property alias button1: button1
    property alias button2: button2
    property alias button3: button3
    property alias button4: button4




    TouchButton{
        id: button1
        anchors.top: home.top
        anchors.left: home.left
        height:235
        width: 395
        text: "Button 1"
    }

    TouchButton{
        id: button2
        anchors.top: home.top
        anchors.right: home.right
        height:235
        width: 395
        text: "Button 2"
    }

    TouchButton{
        id: button3
        anchors.bottom: home.bottom
        anchors.left: home.left
        height:235
        width: 395
        text: "Button 3"
    }

    TouchButton{
        id: button4
        anchors.bottom: home.bottom
        anchors.right: home.right
        height:235
        width: 395
        text: "Button 4"
    }

    BaseText{
        id: title
        anchors.centerIn: home
        text: "Home"
    }


}