equal
deleted
inserted
replaced
37 onClicked: HWEngine.runLocalGame() |
37 onClicked: HWEngine.runLocalGame() |
38 } |
38 } |
39 |
39 |
40 HWComboBox { |
40 HWComboBox { |
41 id: cbTheme |
41 id: cbTheme |
42 x: 320 |
42 x: 50 |
43 y: 16 |
43 y: 160 |
44 width: 100 |
44 width: 256 |
45 height: 256 |
45 height: 64 |
46 |
46 |
47 model: themesModel |
47 model: themesModel |
48 delegate: Rectangle { |
48 delegate: Rectangle { |
49 height: 25 |
49 height: 25 |
50 width: 100 |
50 width: 100 |
51 color: "transparent" |
51 color: "transparent" |
|
52 |
|
53 property alias itemIconSource: themeIcon.source |
|
54 property alias itemText: themeName.text |
|
55 |
52 Row { |
56 Row { |
53 Image {width: height; height: parent.height; source: "image://theme/" + modelData} |
57 Image {id: themeIcon; width: height; height: parent.height; source: "image://theme/" + modelData} |
54 Text {id: themeName; text: modelData } |
58 Text {id: themeName; text: modelData } |
55 } |
59 } |
|
60 |
56 MouseArea { |
61 MouseArea { |
57 z: 1 |
62 z: 1 |
58 anchors.fill: parent |
63 anchors.fill: parent |
59 onClicked: { |
64 onClicked: { |
60 cbTheme.currentIndex = index |
65 cbTheme.currentIndex = index |