forked from faaxm/spix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResultsView.qml
43 lines (37 loc) · 862 Bytes
/
ResultsView.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
import QtQuick 2.11
import QtQuick.Controls 2.4
Rectangle {
id: resultsView
color: "#222222"
function appendText(text) {
resultsArea.append(text);
}
Text {
id: resultsTitle
text: "Result: "
color: "white"
font.bold: true
anchors {
top: resultsView.top
left: resultsView.left
right: resultsView.right
topMargin: 5
leftMargin: 2
bottomMargin: 2
}
}
TextEdit {
id: resultsArea
objectName: "results"
color: "white"
anchors {
top: resultsTitle.bottom
left: resultsView.left
right: resultsView.right
bottom: resultsView.bottom
leftMargin: 2
rightMargin: 2
bottomMargin: 2
}
}
}