Changeset View
Changeset View
Standalone View
Standalone View
src/core/DialogChooseLevel.qml
Context not available. | |||||
188 | // Header buttons | 188 | // Header buttons | ||
---|---|---|---|---|---|
189 | Row { | 189 | Row { | ||
190 | id: datasetOptionsRow | 190 | id: datasetOptionsRow | ||
191 | height: datasetVisibleButton.height | 191 | height: dialogChooseLevel.height / 12 | ||
192 | width: parent.width | 192 | width: parent.width | ||
193 | spacing: parent.width / 4 | 193 | spacing: parent.width / 4 | ||
194 | anchors.leftMargin: parent.width / 8 | 194 | anchors.leftMargin: parent.width / 8 | ||
195 | Button { | 195 | Button { | ||
196 | id: datasetVisibleButton | 196 | id: datasetVisibleButton | ||
197 | text: qsTr("Dataset") | 197 | text: qsTr("Dataset") | ||
198 | height: parent.height | ||||
198 | enabled: difficultiesRepeater.count != 0 | 199 | enabled: difficultiesRepeater.count != 0 | ||
199 | width: parent.width / 3 | 200 | width: parent.width / 3 | ||
200 | property bool selected: true | 201 | property bool selected: true | ||
Context not available. | |||||
205 | } | 206 | } | ||
206 | Button { | 207 | Button { | ||
207 | id: optionsVisibleButton | 208 | id: optionsVisibleButton | ||
209 | height: parent.height | ||||
208 | text: qsTr("Options") | 210 | text: qsTr("Options") | ||
209 | enabled: activityConfigFile.exists("qrc:/gcompris/src/activities/"+activityName+"/ActivityConfig.qml") | 211 | enabled: activityConfigFile.exists("qrc:/gcompris/src/activities/"+activityName+"/ActivityConfig.qml") | ||
210 | width: parent.width / 3 | 212 | width: parent.width / 3 | ||
Context not available. | |||||
307 | // Footer buttons | 309 | // Footer buttons | ||
308 | Row { | 310 | Row { | ||
309 | id: saveAndPlayRow | 311 | id: saveAndPlayRow | ||
310 | height: cancelButton.height | 312 | height: dialogChooseLevel.height / 12 | ||
311 | width: parent.width | 313 | width: parent.width | ||
312 | spacing: parent.width / 16 | 314 | spacing: parent.width / 16 | ||
313 | Button { | 315 | Button { | ||
314 | id: cancelButton | 316 | id: cancelButton | ||
317 | height: parent.height | ||||
315 | text: qsTr("Cancel") | 318 | text: qsTr("Cancel") | ||
316 | width: parent.width / 4 | 319 | width: parent.width / 4 | ||
317 | property bool selected: true | 320 | property bool selected: true | ||
Context not available. | |||||
320 | } | 323 | } | ||
321 | Button { | 324 | Button { | ||
322 | id: saveButton | 325 | id: saveButton | ||
326 | height: parent.height | ||||
323 | text: qsTr("Save") | 327 | text: qsTr("Save") | ||
324 | width: parent.width / 4 | 328 | width: parent.width / 4 | ||
325 | property bool selected: true | 329 | property bool selected: true | ||
Context not available. | |||||
330 | } | 334 | } | ||
331 | Button { | 335 | Button { | ||
332 | id: saveAndStartButton | 336 | id: saveAndStartButton | ||
337 | height: parent.height | ||||
333 | text: qsTr("Save and start") | 338 | text: qsTr("Save and start") | ||
334 | width: parent.width / 3 | 339 | width: parent.width / 3 | ||
335 | style: GCButtonStyle { } | 340 | style: GCButtonStyle { } | ||
Context not available. |