equal
deleted
inserted
replaced
24 height: 128 |
24 height: 128 |
25 cache: false |
25 cache: false |
26 } |
26 } |
27 } |
27 } |
28 |
28 |
29 ListView { |
29 Rectangle { |
30 x: 330 |
30 x: 320 |
31 y: 16 |
31 y: 16 |
32 width: 100; height: 100 |
32 width: 100 |
|
33 height: 256 |
|
34 color: "#15193a" |
|
35 radius: 8 |
|
36 border.width: 4 |
|
37 border.color: "#eaea00" |
|
38 Image { |
|
39 id: themeImage |
|
40 x: 0 |
|
41 y: 0 |
|
42 width: 64 |
|
43 height: 64 |
|
44 fillMode: Image.Pad |
|
45 } |
33 |
46 |
34 model: themesModel |
47 ListView { |
35 delegate: Rectangle { |
48 id: themesList |
36 height: 25 |
49 x: 0 |
|
50 y: 64 |
37 width: 100 |
51 width: 100 |
38 Text { text: modelData } |
52 height: 192 |
|
53 highlight: Rectangle { color: "#eaea00"; radius: 4 } |
|
54 focus: true |
|
55 |
|
56 model: themesModel |
|
57 delegate: Rectangle { |
|
58 height: 25 |
|
59 width: 100 |
|
60 color: "transparent" |
|
61 Text {id: themeName; text: modelData } |
|
62 MouseArea { |
|
63 z: 1 |
|
64 anchors.fill: parent |
|
65 onClicked: { |
|
66 themeImage.source = "image://theme/" + themeName.text |
|
67 themesList.currentIndex = index |
|
68 } |
|
69 } |
|
70 } |
39 } |
71 } |
40 } |
72 } |
41 } |
73 } |