summaryrefslogtreecommitdiffstats
path: root/heimdall-frontend/source/qml/RootForm.ui.qml
blob: bc97a58b825ca7ab71f19ed60914896d03aafb92 (plain) (blame)
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
62
63
64
65
66
67
68
69
70
71
72
73
import QtQuick 2.4
import QtQuick.Controls 1.3
import QtQuick.Layouts 1.1

Rectangle {
	id: rectangle1
	width: 620
	height: 460
	color: "#eeeeee"

	RowLayout {
		id: rowLayout1
		anchors.fill: parent

		Rectangle {
			id: rectangle6
			color: "#222222"
			width: 180
			anchors.top: parent.top
			anchors.topMargin: 0
			anchors.bottom: parent.bottom
			anchors.bottomMargin: 0

			ListView {
				id: listView1
				anchors.fill: parent
				delegate: Item {
					anchors.right: parent.right
					anchors.rightMargin: 0
					anchors.left: parent.left
					anchors.leftMargin: 0
					height: 40
					Row {
						spacing: 8

						Rectangle {
							width: 40
							height: 40
							color: colorCode
						}

						Text {
							text: name
							color: '#eeeeee'
							anchors.verticalCenter: parent.verticalCenter
						}
					}
				}
				model: ListModel {
					ListElement {
						name: "Load Firmware"
						colorCode: "red"
					}

					ListElement {
						name: "Utilities"
						colorCode: "blue"
					}

					ListElement {
						name: "Configuration"
						colorCode: "green"
					}
				}
			}
		}
		DropFiles {
			id: dropFiles1
			Layout.fillWidth: true
		}
	}

}