summaryrefslogtreecommitdiffstats
path: root/heimdall-frontend/source/qml/DropFilesForm.ui.qml
blob: 3c9dd00b976b59802a6d7dbee576f7e062d05066 (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
import QtQuick 2.4
import QtQuick.Controls 1.3
import QtQuick.Layouts 1.1

Rectangle {
	Layout.preferredWidth: 420
	Layout.preferredHeight: 440
	color: "#eeeeee"

	DropArea {
		id: dropFilesArea
	}

	Column {
		id: dropFilesColumn
		spacing: 12
		anchors.verticalCenter: parent.verticalCenter
		anchors.horizontalCenter: parent.horizontalCenter

		Text {
			id: dragFilesText
			text: qsTr("Drop firmware files here")
			opacity: 1
			anchors.horizontalCenter: parent.horizontalCenter
			wrapMode: Text.WordWrap
			horizontalAlignment: Text.AlignLeft
			font.pixelSize: 18
		}

		Image {
			id: image1
			width: 100
			height: 100
			opacity: 1
			anchors.horizontalCenter: parent.horizontalCenter
			source: "drop_zone.svg"
		}

		Button {
			id: browseButton
			text: qsTr("Browse")
			isDefault: true
			anchors.horizontalCenter: parent.horizontalCenter
		}
	}

 Button {
	 id: flashButton
	 x: 556
	 y: 606
	 text: qsTr("Next")
	 visible: false
	 enabled: true
	 isDefault: true
	 anchors.bottom: parent.bottom
	 anchors.bottomMargin: 8
	 anchors.right: parent.right
	 anchors.rightMargin: 8
 }
}