equal
deleted
inserted
replaced
3 |
3 |
4 Rectangle { |
4 Rectangle { |
5 HWButton { |
5 HWButton { |
6 id: btnPreview |
6 id: btnPreview |
7 x: 50 |
7 x: 50 |
8 y: 66 |
8 y: 16 |
9 width: 150 |
9 width: 256 |
10 height: 150 |
10 height: 128 |
11 |
11 |
12 onClicked: HWEngine.getPreview() |
12 onClicked: HWEngine.getPreview() |
13 |
13 |
14 Connections { |
14 Connections { |
15 target: HWEngine |
15 target: HWEngine |
16 onPreviewImageChanged: previewImage.source = "image://preview/" + HWEngine.currentSeed() |
16 onPreviewImageChanged: previewImage.source = "image://preview/" + HWEngine.currentSeed() |
17 } |
17 } |
|
18 |
|
19 Image { |
|
20 id: previewImage |
|
21 x: 0 |
|
22 y: 0 |
|
23 width: 256 |
|
24 height: 128 |
|
25 cache: false |
|
26 } |
18 } |
27 } |
19 |
28 |
20 Image { |
29 ListView { |
21 id: previewImage |
30 x: 330 |
22 x: 210 |
31 y: 16 |
23 y: 70 |
32 width: 100; height: 100 |
24 width: 256 |
33 |
25 height: 128 |
34 model: themesModel |
26 cache: false |
35 delegate: Rectangle { |
|
36 height: 25 |
|
37 width: 100 |
|
38 Text { text: modelData } |
|
39 } |
27 } |
40 } |
28 } |
41 } |