-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.qml
69 lines (65 loc) · 1.47 KB
/
mainwindow.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
import QtQuick 1.0
Rectangle {
id: rectangle2
width: 600
height: 480
color: "#443c3c"
Rectangle {
id: rectangle1
x: -159
y: 159
width: 480
height: 162
radius: 0
opacity: 1
gradient: Gradient {
GradientStop {
position: 0
color: "#938989"
}
GradientStop {
position: 0.94
color: "#000000"
}
}
rotation: 90
}
ListModel{
id: softwareModel
ListElement{
name: "Amarok"
pack: "amarok"
repo: "some random repo"
}
ListElement{
name: "Kopete"
pack: "kopete"
repo: "another repo"
}
}
ListView {
id: list_view1
x: 162
y: 0
width: 438
height: 480
anchors.verticalCenterOffset: 0
anchors.right: parent.right
anchors.rightMargin: 0
anchors.verticalCenter: parent.verticalCenter
opacity: 1
model: softwareModel
delegate: Rectangle{
width: 438
height: 84
color: "#5e5252"
radius: 32
anchors.rightMargin: parent.right
Text {
text: name
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
}
}
}
}