Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GCompris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
27
Issues
27
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Education
GCompris
Commits
7be23091
Commit
7be23091
authored
Jun 01, 2020
by
Deepak Kumar
Committed by
Johnny Jazeix
Jun 26, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memory-enumerate, add multiple dataset
parent
7658dd17
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
625 additions
and
133 deletions
+625
-133
src/activities/memory-enumerate/ActivityInfo.qml
src/activities/memory-enumerate/ActivityInfo.qml
+1
-0
src/activities/memory-enumerate/MemoryEnumerate.qml
src/activities/memory-enumerate/MemoryEnumerate.qml
+0
-2
src/activities/memory-enumerate/dataset.js
src/activities/memory-enumerate/dataset.js
+0
-122
src/activities/memory-enumerate/resource/1/Data.qml
src/activities/memory-enumerate/resource/1/Data.qml
+57
-0
src/activities/memory-enumerate/resource/2/Data.qml
src/activities/memory-enumerate/resource/2/Data.qml
+62
-0
src/activities/memory-enumerate/resource/3/Data.qml
src/activities/memory-enumerate/resource/3/Data.qml
+65
-0
src/activities/memory-enumerate/resource/4/Data.qml
src/activities/memory-enumerate/resource/4/Data.qml
+73
-0
src/activities/memory-enumerate/resource/5/Data.qml
src/activities/memory-enumerate/resource/5/Data.qml
+79
-0
src/activities/memory-enumerate/resource/6/Data.qml
src/activities/memory-enumerate/resource/6/Data.qml
+81
-0
src/activities/memory-enumerate/resource/7/Data.qml
src/activities/memory-enumerate/resource/7/Data.qml
+85
-0
src/activities/memory-enumerate/resource/8/Data.qml
src/activities/memory-enumerate/resource/8/Data.qml
+89
-0
src/activities/memory/MemoryCommon.qml
src/activities/memory/MemoryCommon.qml
+26
-2
src/activities/memory/memory.js
src/activities/memory/memory.js
+7
-7
No files found.
src/activities/memory-enumerate/ActivityInfo.qml
View file @
7be23091
...
...
@@ -36,4 +36,5 @@ ActivityInfo {
credit
:
""
section
:
"
math numeration
"
createdInVersion
:
0
levels
:
"
1,2,3,4,5,6,7,8
"
}
src/activities/memory-enumerate/MemoryEnumerate.qml
View file @
7be23091
...
...
@@ -22,9 +22,7 @@
import
QtQuick
2.6
import
"
../memory
"
import
"
dataset.js
"
as
Dataset
MemoryCommon
{
dataset
:
Dataset
.
get
()
backgroundImg
:
"
qrc:/gcompris/src/activities/memory/resource/background.svg
"
}
src/activities/memory-enumerate/dataset.js
deleted
100644 → 0
View file @
7658dd17
/* GCompris
*
* Copyright (C) 2014 Bruno Coudoin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <https://www.gnu.org/licenses/>.
*/
.
import
GCompris
1.0
as
GCompris
//for ApplicationInfo
var
url
=
"
qrc:/gcompris/src/activities/memory-enumerate/resource/
"
var
texts
=
[
[
""
,
0
],
[
""
,
1
],
[
""
,
2
],
[
""
,
3
],
[
""
,
4
],
[
""
,
5
],
[
""
,
6
],
[
""
,
7
],
[
""
,
8
],
[
""
,
9
]
]
var
images
=
[
[
url
+
'
math_0.svg
'
,
''
],
[
url
+
'
math_1.svg
'
,
''
],
[
url
+
'
math_2.svg
'
,
''
],
[
url
+
'
math_3.svg
'
,
''
],
[
url
+
'
math_4.svg
'
,
''
],
[
url
+
'
math_5.svg
'
,
''
],
[
url
+
'
math_6.svg
'
,
''
],
[
url
+
'
math_7.svg
'
,
''
],
[
url
+
'
math_8.svg
'
,
''
],
[
url
+
'
math_9.svg
'
,
''
]
]
var
sounds
=
[
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0030.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0031.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0032.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0033.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0034.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0035.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0036.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0037.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0038.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0039.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/10.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/11.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/12.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/13.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/14.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/15.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/16.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/17.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/18.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/19.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/20.$CA
"
)]
]
var
memory_cards
=
[
{
// Level 1
columns
:
3
,
rows
:
2
,
texts
:
texts
.
slice
(
0
,
6
),
images
:
images
.
slice
(
0
,
6
),
sounds
:
sounds
.
slice
(
0
,
6
)
},
{
// Level 2
columns
:
3
,
rows
:
2
,
texts
:
texts
.
slice
(
4
,
10
),
images
:
images
.
slice
(
4
,
10
),
sounds
:
sounds
.
slice
(
4
,
10
)
},
{
// Level 3
columns
:
5
,
rows
:
2
,
texts
:
texts
.
slice
(
0
,
10
),
images
:
images
.
slice
(
0
,
10
),
sounds
:
sounds
.
slice
(
0
,
10
)
}
]
function
get
()
{
return
memory_cards
}
src/activities/memory-enumerate/resource/1/Data.qml
0 → 100644
View file @
7be23091
/* GCompris - Data.qml
*
* Copyright (C) 2020 Deepak Kumar <deepakdk2431@gmail.com>
*
* Authors:
* Deepak Kumar <deepakdk2431@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import
GCompris
1.0
import
GCompris
1.0
as
GCompris
Data
{
objective
:
qsTr
(
"
Match the numbers up to 2.
"
)
difficulty
:
1
readonly
property
string
url
:
"
qrc:/gcompris/src/activities/memory-enumerate/resource/
"
readonly
property
var
texts
:
[
[
""
,
1
],
[
""
,
2
]
]
readonly
property
var
images
:
[
[
url
+
'
math_1.svg
'
,
''
],
[
url
+
'
math_2.svg
'
,
''
],
]
readonly
property
var
sounds
:
[
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0031.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0032.$CA
"
)]
]
data
:
[
{
// Level 1
"
columns
"
:
2
,
"
rows
"
:
2
,
"
texts
"
:
texts
.
slice
(
0
,
2
),
"
images
"
:
images
.
slice
(
0
,
2
),
"
sounds
"
:
sounds
.
slice
(
0
,
2
)
}
]
}
src/activities/memory-enumerate/resource/2/Data.qml
0 → 100644
View file @
7be23091
/* GCompris - Data.qml
*
* Copyright (C) 2020 Deepak Kumar <deepakdk2431@gmail.com>
*
* Authors:
* Deepak Kumar <deepakdk2431@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import
GCompris
1.0
import
GCompris
1.0
as
GCompris
Data
{
objective
:
qsTr
(
"
Match the numbers up to 3.
"
)
difficulty
:
1
readonly
property
string
url
:
"
qrc:/gcompris/src/activities/memory-enumerate/resource/
"
readonly
property
var
texts
:
[
[
""
,
1
],
[
""
,
2
],
[
""
,
3
]
]
readonly
property
var
images
:
[
[
url
+
'
math_1.svg
'
,
''
],
[
url
+
'
math_2.svg
'
,
''
],
[
url
+
'
math_3.svg
'
,
''
]
]
readonly
property
var
sounds
:
[
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0031.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0032.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0033.$CA
"
)]
]
data
:
[
{
// Level 1
"
columns
"
:
3
,
"
rows
"
:
2
,
"
texts
"
:
texts
.
slice
(
0
,
4
),
"
images
"
:
images
.
slice
(
0
,
4
),
"
sounds
"
:
sounds
.
slice
(
0
,
4
)
}
]
}
src/activities/memory-enumerate/resource/3/Data.qml
0 → 100644
View file @
7be23091
/* GCompris - Data.qml
*
* Copyright (C) 2020 Deepak Kumar <deepakdk2431@gmail.com>
*
* Authors:
* Deepak Kumar <deepakdk2431@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import
GCompris
1.0
import
GCompris
1.0
as
GCompris
Data
{
objective
:
qsTr
(
"
Match the numbers up to 4.
"
)
difficulty
:
1
readonly
property
string
url
:
"
qrc:/gcompris/src/activities/memory-enumerate/resource/
"
readonly
property
var
texts
:
[
[
""
,
1
],
[
""
,
2
],
[
""
,
3
],
[
""
,
4
]
]
readonly
property
var
images
:
[
[
url
+
'
math_1.svg
'
,
''
],
[
url
+
'
math_2.svg
'
,
''
],
[
url
+
'
math_3.svg
'
,
''
],
[
url
+
'
math_4.svg
'
,
''
]
]
readonly
property
var
sounds
:
[
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0031.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0032.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0033.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0034.$CA
"
)],
]
data
:
[
{
// Level 1
"
columns
"
:
4
,
"
rows
"
:
2
,
"
texts
"
:
texts
.
slice
(
0
,
4
),
"
images
"
:
images
.
slice
(
0
,
4
),
"
sounds
"
:
sounds
.
slice
(
0
,
4
)
}
]
}
src/activities/memory-enumerate/resource/4/Data.qml
0 → 100644
View file @
7be23091
/* GCompris - Data.qml
*
* Copyright (C) 2020 Deepak Kumar <deepakdk2431@gmail.com>
*
* Authors:
* Deepak Kumar <deepakdk2431@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import
GCompris
1.0
import
GCompris
1.0
as
GCompris
Data
{
objective
:
qsTr
(
"
Match the numbers up to 5.
"
)
difficulty
:
2
readonly
property
string
url
:
"
qrc:/gcompris/src/activities/memory-enumerate/resource/
"
readonly
property
var
texts
:
[
[
""
,
0
],
[
""
,
1
],
[
""
,
2
],
[
""
,
3
],
[
""
,
4
],
[
""
,
5
]
]
readonly
property
var
images
:
[
[
url
+
'
math_0.svg
'
,
''
],
[
url
+
'
math_1.svg
'
,
''
],
[
url
+
'
math_2.svg
'
,
''
],
[
url
+
'
math_3.svg
'
,
''
],
[
url
+
'
math_4.svg
'
,
''
],
[
url
+
'
math_5.svg
'
,
''
],
]
readonly
property
var
sounds
:
[
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0030.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0031.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0032.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0033.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0034.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0035.$CA
"
)]
]
data
:
[
{
// Level 1
"
columns
"
:
4
,
"
rows
"
:
3
,
"
texts
"
:
texts
.
slice
(
0
,
6
),
"
images
"
:
images
.
slice
(
0
,
6
),
"
sounds
"
:
sounds
.
slice
(
0
,
6
)
}
]
}
src/activities/memory-enumerate/resource/5/Data.qml
0 → 100644
View file @
7be23091
/* GCompris - Data.qml
*
* Copyright (C) 2020 Deepak Kumar <deepakdk2431@gmail.com>
*
* Authors:
* Deepak Kumar <deepakdk2431@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import
GCompris
1.0
import
GCompris
1.0
as
GCompris
Data
{
objective
:
qsTr
(
"
Match the numbers up to 6.
"
)
difficulty
:
3
readonly
property
string
url
:
"
qrc:/gcompris/src/activities/memory-enumerate/resource/
"
readonly
property
var
texts
:
[
[
""
,
0
],
[
""
,
1
],
[
""
,
2
],
[
""
,
3
],
[
""
,
4
],
[
""
,
5
],
[
""
,
6
],
]
readonly
property
var
images
:
[
[
url
+
'
math_0.svg
'
,
''
],
[
url
+
'
math_1.svg
'
,
''
],
[
url
+
'
math_2.svg
'
,
''
],
[
url
+
'
math_3.svg
'
,
''
],
[
url
+
'
math_4.svg
'
,
''
],
[
url
+
'
math_5.svg
'
,
''
],
[
url
+
'
math_6.svg
'
,
''
],
]
readonly
property
var
sounds
:
[
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0030.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0031.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0032.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0033.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0034.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0035.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0036.$CA
"
)]
]
data
:
[
{
// Level 1
"
columns
"
:
4
,
"
rows
"
:
3
,
"
texts
"
:
texts
.
slice
(
0
,
7
),
"
images
"
:
images
.
slice
(
0
,
7
),
"
sounds
"
:
sounds
.
slice
(
0
,
7
)
}
]
}
src/activities/memory-enumerate/resource/6/Data.qml
0 → 100644
View file @
7be23091
/* GCompris - Data.qml
*
* Copyright (C) 2020 Deepak Kumar <deepakdk2431@gmail.com>
*
* Authors:
* Deepak Kumar <deepakdk2431@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import
GCompris
1.0
import
GCompris
1.0
as
GCompris
Data
{
objective
:
qsTr
(
"
Match the numbers up to 7.
"
)
difficulty
:
3
readonly
property
string
url
:
"
qrc:/gcompris/src/activities/memory-enumerate/resource/
"
readonly
property
var
texts
:
[
[
""
,
0
],
[
""
,
1
],
[
""
,
2
],
[
""
,
3
],
[
""
,
4
],
[
""
,
5
],
[
""
,
6
],
[
""
,
7
],
]
readonly
property
var
images
:
[
[
url
+
'
math_0.svg
'
,
''
],
[
url
+
'
math_1.svg
'
,
''
],
[
url
+
'
math_2.svg
'
,
''
],
[
url
+
'
math_3.svg
'
,
''
],
[
url
+
'
math_4.svg
'
,
''
],
[
url
+
'
math_5.svg
'
,
''
],
[
url
+
'
math_6.svg
'
,
''
],
[
url
+
'
math_7.svg
'
,
''
]
]
readonly
property
var
sounds
:
[
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0030.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0031.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0032.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0033.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0034.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0035.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0036.$CA
"
)],
[
""
,
GCompris
.
ApplicationInfo
.
getAudioFilePath
(
"
voices-$CA/$LOCALE/alphabet/U0037.$CA
"
)]
]
data
:
[
{
// Level 1
"
columns
"
:
4
,
"
rows
"
:
4
,
"
texts
"
:
texts
.
slice
(
0
,
8
),
"
images
"
:
images
.
slice
(
0
,
8
),
"
sounds
"
:
sounds
.
slice
(
0
,
8
)
}
]
}
src/activities/memory-enumerate/resource/7/Data.qml
0 → 100644
View file @
7be23091
/* GCompris - Data.qml
*
* Copyright (C) 2020 Deepak Kumar <deepakdk2431@gmail.com>
*
* Authors:
* Deepak Kumar <deepakdk2431@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
import
GCompris
1.0
import
GCompris
1.0
as
GCompris
Data
{
objective
:
qsTr
(
"
Match the numbers up to 8.
"
)
difficulty
:
3
readonly
property
string
url
:
"
qrc:/gcompris/src/activities/memory-enumerate/resource/
"
readonly
property
var
texts
:
[
[
""
,
0
],
[
""
,
1
],
[
""
,
2
],
[
""
,
3
],
[
""
,
4
],
[
""
,
5
],
[
""
,
6
],
[
""
,
7
],
[
""
,
8
]
]
readonly
property
var
images
:
[
[
url
+
'
math_0.svg
'
,
''
],
[
url
+
'
math_1.svg
'
,
''
],
[
url
+
'
math_2.svg
'
,
''
],
[
url
+
'
math_3.svg
'
,
''
],
[
url
+
'
math_4.svg
'
,
''
],
[
url
+
'
math_5.svg
'
,
''
],
[
url
+
'
math_6.svg
'
,
''
],
[
url
+
'
math_7.svg
'
,
''
],
[
url
+
'
math_8.svg
'
,
''
],