equal
deleted
inserted
replaced
131 } |
131 } |
132 } |
132 } |
133 } |
133 } |
134 } |
134 } |
135 |
135 |
|
136 |
|
137 HWComboBox { |
|
138 id: cbAmmo |
|
139 x: 50 |
|
140 y: 416 |
|
141 width: 256 |
|
142 height: 64 |
|
143 |
|
144 model: ammoModel |
|
145 delegate: Rectangle { |
|
146 height: 25 |
|
147 width: 100 |
|
148 color: "transparent" |
|
149 |
|
150 property string itemIconSource: "" |
|
151 property alias itemText: ammoName.text |
|
152 |
|
153 Row { |
|
154 //Image {id: themeIcon; width: height; height: parent.height; source: "image://theme/" + modelData} |
|
155 Text {id: ammoName; text: modelData } |
|
156 } |
|
157 |
|
158 MouseArea { |
|
159 z: 1 |
|
160 anchors.fill: parent |
|
161 onClicked: { |
|
162 cbAmmo.currentIndex = index |
|
163 HWEngine.setAmmo(ammoName.text) |
|
164 } |
|
165 } |
|
166 } |
|
167 } |
136 |
168 |
137 ListView { |
169 ListView { |
138 id: playingTeamsList |
170 id: playingTeamsList |
139 x: 440 |
171 x: 440 |
140 y: 16 |
172 y: 16 |