-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvtscan.qml
189 lines (163 loc) · 5.03 KB
/
vtscan.qml
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
import QtQuick 2.2
import QtQuick.Window 2.2
import QtQuick.Layouts 1.6
import QtQuick.Controls 1.4
import QtQuick.Dialogs 1.3
Window {
visible: true
width: 800
height: 500
title: "Virus Total Scanner"
signal maTxtLink_click(var right_click)
Rectangle {
id: recMain
anchors.fill: parent
Rectangle {
id: recText
anchors.margins: 10
anchors.bottomMargin: 30
color: "transparent"
anchors.fill: parent
GridLayout {
id: gridText
columns:2
Label {
id: lblFile
text: "File: "
font.pixelSize: 16
color: "gray"
Layout.alignment: Qt.AlignRight
}
Label {
id: txtFile
objectName: "txtFile"
text: "TBD"
font.pixelSize: 14
color: "black"
}
Label {
id: lblPath
text: "Path: "
font.pixelSize: 16
color: "gray"
Layout.alignment: Qt.AlignRight
}
Label {
id: txtPath
objectName: "txtPath"
text: "<path>"
font.pixelSize: 14
color: "black"
}
Label {
id: lblMd5
text: "md5: "
font.pixelSize: 16
color: "gray"
Layout.alignment: Qt.AlignRight
}
Label {
id: txtMd5
objectName: "txtMd5"
text: "<MD5>"
font.pixelSize: 14
color: "black"
}
Label {
id: lblSha1
text: "sha1: "
font.pixelSize: 16
color: "gray"
Layout.alignment: Qt.AlignRight
}
Label {
id: txtSha1
objectName: "txtSha1"
text: "<Sha1>"
font.pixelSize: 14
color: "black"
}
Label {
id: lblSha256
text: "sha256: "
font.pixelSize: 16
color: "gray"
Layout.alignment: Qt.AlignRight
}
Label {
id: txtSha256
objectName: "txtSha256"
text: "<Sha256>"
font.pixelSize: 14
color: "black"
}
Label {
id: lblLink
text: "Permalink: "
font.pixelSize: 16
color: "gray"
Layout.alignment: Qt.AlignRight
}
Label {
id: txtLink
objectName: "txtLink"
text: "<Permalink>"
font.pixelSize: 14
color: "black"
MouseArea {
id: mouseArea
objectName: "maTxtLink"
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
cursorShape: Qt.PointingHandCursor
onClicked: maTxtLink_click(mouse.button == Qt.RightButton)
}
}
Label {
id: lblLinkNote
text: ""
Layout.alignment: Qt.AlignRight
}
Label {
id: txtLinkNote
text: "(left click to open in browser, right click to copy url)"
font.pixelSize: 10
color: "gray"
}
}
Image {
id: qrcode
objectName: "qrcode"
source: ""
height: 300
width: 300
anchors.top: gridText.bottom
}
Label {
id: lblRes
text: "Results: "
font.pixelSize: 16
color: "gray"
anchors.top: qrcode.bottom;
}
Label {
id: txtRes
objectName: "txtRes"
text: "<Results>"
font.pixelSize: 14
color: "black"
anchors.left: lblRes.right;
anchors.bottom: lblRes.bottom;
}
}
StatusBar {
anchors.top: recText.bottom
RowLayout {
Label {
objectName: "txtStatusBar"
text: "-"
}
}
}
}
}