Power users should have the possibility to :
- define which activities are presented by GCompris
- if it is an activity including multipledataset, being able to choose which options are presented
- if it is an activity including multipledataset, and he wants to change the datasets, having the possibility to propose a different dataset
Command line options would be:
- --launch "activity name" to start the activity directly.
If there is only one activity lauched Quit button sill replace the Home button.
- --sequence "sequence_file" to propose a set of activities
The sequence file contains a list of configuration files each defining an activity being selected and its configuration.
if the configuration file name exactly matches the name of an activity, the activity is presented with all its options
e.g:
content of sequence_file_3rd_grade
reversecount #full activity will all options
falling_dice #full activity will all options
if the users need to pick only specific options from the default activity config file he can use the following option
content of sequence_file_3rd_grade_selected_option
learn_digits 1,3 #select options 1 and 3 which Numbers from 1 to 2 and Numbers from 1 to 4.
small_numbers 2,3 #select options 2 and 3 which are numbers until 4 and number until 5.
When displayed the other options are still visible but greyed and not available.
For the users that really know what they are doing and need very specific datasets, the multipledataset configuration file can be overloaded.
content of sequence_file_3rd_grade_cutomised
learn_digits customised_learn_digits #link to text file customised_learn_digits where multipledataset json configuration file is written
small_numbers 2,3 #select options 2 and 3 which are numbers until 4 and number until 5.
customised_learn_digits content:
Data {
objective: qsTr("Dataset customised for Tom who has difficulties with 7 and 9.")
difficulty: 1
data: [
{
"objective" : qsTr("Type the number on the dice, 7 or 9."),
"sublevels" : "1",
"words" : [
"7",
"9"
]
},
{
"objective" : qsTr("Type the number on the dice, from 1 to 3."),
"sublevels" : "2",
"words" : [
"1",
"2",
"7",
"9"
]
}
]
}