Changeset View
Changeset View
Standalone View
Standalone View
src/activities/calendar/Calendar.qml
Show First 20 Lines • Show All 399 Lines • ▼ Show 20 Line(s) | 397 | Tutorial { | |||
---|---|---|---|---|---|
400 | useImage: false | 400 | useImage: false | ||
401 | onSkipPressed: { | 401 | onSkipPressed: { | ||
402 | showTutorial = false | 402 | showTutorial = false | ||
403 | Activity.initLevel() | 403 | Activity.initLevel() | ||
404 | } | 404 | } | ||
405 | } | 405 | } | ||
406 | } | 406 | } | ||
407 | } | 407 | } | ||
408 | } | 408 | } // Tutorial section ends | ||
409 | // Tutorial section ends | | |||
410 | 409 | | |||
411 | // Answer Submission button. | 410 | // Answer Submission button. | ||
412 | BarButton { | 411 | BarButton { | ||
413 | id: okButton | 412 | id: okButton | ||
414 | source: "qrc:/gcompris/src/core/resource/bar_ok.svg" | 413 | source: "qrc:/gcompris/src/core/resource/bar_ok.svg" | ||
415 | height: bar.height * 0.8 | 414 | height: bar.height * 0.8 | ||
416 | width: okButton.height | 415 | width: okButton.height | ||
417 | sourceSize.width: okButton.width | 416 | sourceSize.width: okButton.width | ||
Show All 36 Lines | |||||
454 | 453 | | |||
455 | DialogHelp { | 454 | DialogHelp { | ||
456 | id: dialogHelp | 455 | id: dialogHelp | ||
457 | onClose: home() | 456 | onClose: home() | ||
458 | } | 457 | } | ||
459 | 458 | | |||
460 | Bar { | 459 | Bar { | ||
461 | id: bar | 460 | id: bar | ||
462 | content: BarEnumContent { value: help | home | level | activityConfig } | 461 | content: BarEnumContent { value: items.showTutorial ? (help | home) : (help | home | level | activityConfig) } | ||
463 | onHelpClicked: { | 462 | onHelpClicked: { | ||
464 | displayDialog(dialogHelp) | 463 | displayDialog(dialogHelp) | ||
465 | } | 464 | } | ||
466 | onActivityConfigClicked: { | 465 | onActivityConfigClicked: { | ||
467 | displayDialog(dialogActivityConfig) | 466 | displayDialog(dialogActivityConfig) | ||
468 | } | 467 | } | ||
469 | onPreviousLevelClicked: Activity.previousLevel() | 468 | onPreviousLevelClicked: Activity.previousLevel() | ||
470 | onNextLevelClicked: Activity.nextLevel() | 469 | onNextLevelClicked: Activity.nextLevel() | ||
Show All 23 Lines |