play_piano, lay down UI of the activity and implement working logic and levels.
ClosedPublic

Authored by amankumargupta on Jun 5 2018, 5:54 PM.

Details

Summary

Play_piano activity is complete as per planned implementation: https://phabricator.kde.org/T8951

Diff Detail

Repository
R2 GCompris
Lint
Lint Skipped
Unit
Unit Tests Skipped
amankumargupta created this revision.Jun 5 2018, 5:54 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptJun 5 2018, 5:54 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
amankumargupta added inline comments.Jun 5 2018, 6:15 PM
src/activities/piano_composition/MultipleStaff.qml
43 ↗(On Diff #35638)

Notes are to be centered at the staff for activites like play_piano and play_rhythm.

303 ↗(On Diff #35638)

To mark and indicate if the answered note is correct or not.

Will document the usage of all functions before committing.

This function and the function below, revertAnswer are then only 2 new functions added.

I guess we will not need to add anymore functions for the remaining piano activities now.

amankumargupta marked an inline comment as done.Jun 6 2018, 9:57 AM

Documented all the functions in MultipleStaff.qml

jjazeix added a subscriber: jjazeix.Jun 7 2018, 6:13 AM
jjazeix added inline comments.
src/activities/piano_composition/MultipleStaff.qml
162

if you don't need anymore the logs, you can remove them

138 ↗(On Diff #35638)

can you name the clefType directly "Treble" and "Bass"?

src/activities/play_piano/PlayPiano.qml
124

is there a better name than "easy"/"hard"?

281 ↗(On Diff #35638)

All the options should be invisible by default (in OptionsRow.qml) and there and in piano_composition, you should set them to the values you want

amankumargupta marked 3 inline comments as done.Jun 7 2018, 7:06 PM

All the changes are made.

jjazeix accepted this revision.Jun 9 2018, 5:46 AM

thank you!

This revision is now accepted and ready to land.Jun 9 2018, 5:46 AM