-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCombatRoundQuickWidget.qml
More file actions
77 lines (68 loc) · 1.45 KB
/
CombatRoundQuickWidget.qml
File metadata and controls
77 lines (68 loc) · 1.45 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
import QtQuick 2.0
import QtQuick.Controls 1.2
Item {
width: 500
height: 500
ListView {
id: listView1
x: 21
y: 68
width: 110
height: 160
highlightMoveDuration: 4
model: ListModel {
ListElement {
name: "Grey"
colorCode: "grey"
}
ListElement {
name: "Red"
colorCode: "red"
}
ListElement {
name: "Blue"
colorCode: "blue"
}
ListElement {
name: "Green"
colorCode: "green"
}
}
delegate: Item {
x: 5
width: 80
height: 40
Row {
id: row1
spacing: 10
Rectangle {
width: 40
height: 40
color: colorCode
}
Text {
text: name
font.bold: true
anchors.verticalCenter: parent.verticalCenter
}
}
}
}
TextEdit {
id: textEdit1
x: 16
y: 23
width: 80
height: 20
text: qsTr("Text Edit")
font.pixelSize: 12
}
Button {
id: button1
x: 115
y: 23
width: 47
height: 26
text: qsTr("Add")
}
}