forked from ItsRanveer-zz/goDM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.qml
More file actions
126 lines (111 loc) · 2.53 KB
/
Copy pathmain.qml
File metadata and controls
126 lines (111 loc) · 2.53 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Window 2.1
Window {
id: window1
width: 1000
height: 500
x: 200
y: 200
Rectangle {
id: rectangle1
width: 1000
height: 500
GridView {
id: gridView1
x: 31
y: 63
width: 939
height: 374
clip: false
visible: true
highlightFollowsCurrentItem: true
cacheBuffer: 323
transformOrigin: Item.Center
cellHeight: 70
Text {
id: text1
x: 43
y: 71
width: 111
height: 35
text: qsTr("Enter URL")
font.pixelSize: 23
}
TextField {
id: textField1
x: 196
y: 71
width: 547
height: 35
placeholderText: qsTr("Enter URL")
}
ProgressBar {
id: progressBar1
x: 196
y: 147
width: 547
height: 33
}
Text {
id: text2
x: 425
y: 147
width: 89
height: 33
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
textFormat: Text.AutoText
z: 1
font.pixelSize: 14
}
Button {
id: button1
x: 785
y: 71
width: 113
height: 35
text: qsTr("Download")
enabled: true
onClicked: download.startDownload(textField1, progressBar1, text2, button1, button2, button3, button4)
}
Button {
id: button2
x: 196
y: 269
width: 146
height: 35
text: qsTr("Pause")
enabled: false
onClicked: download.buttonClicked(0, 0, 0, 0)
}
Button {
id: button3
x: 396
y: 269
width: 146
height: 35
text: qsTr("Resume")
enabled: false
onClicked: download.buttonClicked(0, 0, 0, 0)
}
Button {
id: button4
x: 597
y: 269
width: 146
height: 35
text: qsTr("Cancel")
enabled: false
onClicked: download.buttonClicked(1, 0, 0, 0)
}
Image {
id: image
x: 785
y: 211
z: -1
source: "gopher.jpg"
}
}
}
}