Warning, /education/gcompris/src/activities/categorization/resource/board/category_shapes.qml is written in an unsupported language. File is not indexed.

0001 /* GCompris
0002  *
0003  * SPDX-FileCopyrightText: 2016 Divyam Madaan <divyam3897@gmail.com>
0004  *
0005  * Authors:
0006  *   Divyam Madaan <divyam3897@gmail.com>
0007  *
0008  *   SPDX-License-Identifier: GPL-3.0-or-later
0009  */
0010 
0011 import QtQuick 2.12
0012 
0013 
0014 QtObject{
0015     property bool isEmbedded: false
0016     property bool allowExpertMode: true
0017     property string imagesPrefix: "qrc:/gcompris/data/words-webp/shapes/"
0018     property var levels: [
0019         {
0020             "type": "lesson",
0021             "name": qsTr("Shapes"),
0022             "image": imagesPrefix + "cube.webp",
0023             "content": [
0024                 {
0025                     "instructions": qsTr("Place the objects matching a CIRCLE to the right and others to the left"),
0026                     "image": imagesPrefix + "circle.svg",
0027                     "maxNumberOfGood": 5,
0028                     "maxNumberOfBad": 4,
0029                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0030                     "good": ["cd.svg","clock.svg","coin.svg","globe.svg","smile.svg"],
0031                     "bad": ["backcard.svg","can.svg","can1.svg","conehat.svg"]
0032                 },
0033                 {
0034                     "instructions": qsTr("Place the objects matching a RECTANGLE to the right and others to the left"),
0035                     "image": imagesPrefix + "rectangle.svg",
0036                     "maxNumberOfGood": 4,
0037                     "maxNumberOfBad": 5,
0038                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0039                     "good": ["paper.svg","rectangle_led.svg","stickynote.svg","rainbowsquare.svg"],
0040                     "bad": ["cylinder.svg","icecream.svg","trapezium.svg","trash.svg","pizza.svg"]
0041                 },
0042                 {
0043                     "instructions": qsTr("Place the objects matching a SPHERE to the right and others to the left"),
0044                     "image": imagesPrefix + "sun.svg",
0045                     "maxNumberOfGood": 4,
0046                     "maxNumberOfBad": 5,
0047                     "prefix": "qrc:/gcompris/data/words-webp/",
0048                     "good": ["shapes/football.svg","shapes/globe.svg","ball.webp","shapes/watermelon.svg"],
0049                     "bad": ["shapes/cone.svg","shapes/halforange.svg","shapes/sunrise.svg","shapes/juice2.svg","shapes/icecube.svg"]
0050                 },
0051                 {
0052                     "instructions": qsTr("Place the objects matching a TRAPEZOID to the right and others to the left"),
0053                     "image": imagesPrefix + "trapezium.svg",
0054                     "maxNumberOfGood": 5,
0055                     "maxNumberOfBad": 4,
0056                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0057                     "good": ["trapezium2.svg","trapezium4.svg","trapezium3.svg","rectangle.svg","rhombus1.svg"],
0058                     "bad": ["cube.svg","dice.svg","rectbin.svg","yellowtriangle.svg"]
0059                 },
0060                 {
0061                     "instructions": qsTr("Place the objects matching a TRIANGLE to the right and others to the left"),
0062                     "image": imagesPrefix + "triangle.svg",
0063                     "maxNumberOfGood": 4,
0064                     "maxNumberOfBad": 5,
0065                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0066                     "good": ["yellowtriangle.svg","trianglehat.svg","warning.svg","warning1.svg"],
0067                     "bad": ["sun.svg","cookie.svg","rhombus2.svg","trapezium2.svg","semicircle.svg"]
0068                 },
0069                 {
0070                     "instructions": qsTr("Place the objects matching a SEMICIRCLE to the right and others to the left"),
0071                     "image": imagesPrefix + "semicircle.svg",
0072                     "maxNumberOfGood": 4,
0073                     "maxNumberOfBad": 5,
0074                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0075                     "good": ["fan.svg","halfmoon.svg","sunrise.svg","rainbow.svg"],
0076                     "bad": ["diceface.svg","watermelon.svg","squareclock.svg","trianglehat.svg","circle.svg"]
0077                 },
0078                 {
0079                     "instructions": qsTr("Place the objects matching a PENTAGON to the right and others to the left"),
0080                     "image": imagesPrefix + "pentagon.svg",
0081                     "maxNumberOfGood": 4,
0082                     "maxNumberOfBad": 5,
0083                     "prefix": "qrc:/gcompris/data/words-webp/",
0084                     "good": ["shapes/pentagon1.svg","shapes/pentagon2.svg","shapes/pentagon3.svg","shapes/pentagon4.svg"],
0085                     "bad": ["shapes/nonagon1.svg","shapes/trianglehat.svg","shapes/rainbowsquare.svg","shapes/paper.svg","shapes/hexagon1.svg"]
0086                 },
0087                 {
0088                     "instructions": qsTr("Place the objects matching a SQUARE to the right and others to the left"),
0089                     "image": imagesPrefix + "rhombus.svg",
0090                     "maxNumberOfGood": 4,
0091                     "maxNumberOfBad": 5,
0092                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0093                     "good": ["rsquare.svg","rainbowsquare.svg","ledsquare.svg","stickynote.svg"],
0094                     "bad": ["trapezium.svg","slate.svg","rhombus4.svg","globe.svg","parallelogram.svg"]
0095                 },
0096                 {
0097                     "instructions": qsTr("Place the objects matching a CONE to the right and others to the left"),
0098                     "image": imagesPrefix + "cone.svg",
0099                     "maxNumberOfGood": 4,
0100                     "maxNumberOfBad": 5,
0101                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0102                     "good": ["ice_cream.webp","icecone.svg","icecream.svg","conehat.svg"],
0103                     "bad": ["semicircle.svg","glass.svg","bowl3.svg","halforange.svg","dice.svg"]
0104                 },
0105                 {
0106                     "instructions": qsTr("Place the objects matching a PARALLELOGRAM to the right and others to the left"),
0107                     "image": imagesPrefix + "parallelogram.svg",
0108                     "maxNumberOfGood": 5,
0109                     "maxNumberOfBad": 4,
0110                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0111                     "good": ["pgram1.svg","pgram2.svg","pgram3.svg","paper.svg","rectangle_led.svg",],
0112                     "bad": ["globe.svg","heptagon.svg","pizza.svg","trapezium4.svg"]
0113                 },
0114                 {
0115                     "instructions": qsTr("Place the objects matching a HEPTAGON to the right and others to the left"),
0116                     "image": imagesPrefix + "heptagon.svg",
0117                     "maxNumberOfGood": 4,
0118                     "maxNumberOfBad": 5,
0119                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0120                     "good": ["heptagon1.svg","heptagon2.svg","heptagon3.svg","heptagon4.svg"],
0121                     "bad": ["nonagon4.svg","octagon1.svg","decagon2.svg","pentagon1.svg","hexagon4.svg"]
0122                 },
0123                 {
0124                     "instructions": qsTr("Place the objects matching a CUBE to the right and others to the left"),
0125                     "image": imagesPrefix + "cube.svg",
0126                     "maxNumberOfGood": 5,
0127                     "maxNumberOfBad": 4,
0128                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0129                     "good": ["icecube.svg","cube1.svg","dice.svg","rubikscube.svg","rubikscube1.svg"],
0130                     "bad": ["juice2.svg","cuboid1.svg","stickynote.svg","backcard.svg"]
0131                 },
0132                 {
0133                     "instructions": qsTr("Place the objects matching a RHOMBUS to the right and others to the left"),
0134                     "image": imagesPrefix + "rhombus1.svg",
0135                     "maxNumberOfGood": 4,
0136                     "maxNumberOfBad": 5,
0137                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0138                     "good": ["rainbowsquare.svg","rhombus2.svg","ledsquare.svg","rhombus4.svg"],
0139                     "bad": ["hexagon.svg","parallelogram.svg","pentagon4.svg","pgram1.svg","trapezium2.svg"]
0140                 },
0141                 {
0142                     "instructions": qsTr("Place the objects matching a NONAGON to the right and others to the left"),
0143                     "image": imagesPrefix + "nonagon.svg",
0144                     "maxNumberOfGood": 4,
0145                     "maxNumberOfBad": 5,
0146                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0147                     "good": ["nonagon1.svg","nonagon4.svg","nonagon2.svg","nonagon3.svg"],
0148                     "bad": ["pgram2.svg","diceface.svg","octagon2.svg","decagon1.svg","decagon2.svg"],
0149                 },
0150                 {
0151                     "instructions": qsTr("Place the objects matching a CUBOID to the right and others to the left"),
0152                     "image": imagesPrefix + "cuboid.svg",
0153                     "maxNumberOfGood": 5,
0154                     "maxNumberOfBad": 4,
0155                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0156                     "good": ["dice.svg","rubikscube.svg","cuboid1.svg","juice2.svg","cube1.svg"],
0157                     "bad": ["backcard.svg","cone.svg","pizza.svg","trash.svg"]
0158                 },
0159                 {
0160                     "instructions": qsTr("Place the objects matching a HEXAGON to the right and others to the left"),
0161                     "image": imagesPrefix + "hexagon.svg",
0162                     "maxNumberOfGood": 4,
0163                     "maxNumberOfBad": 5,
0164                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0165                     "good": ["hexagon2.svg","hexagon3.svg","hexagon4.svg","hexagon1.svg"],
0166                     "bad": ["rhombus1.svg","pgram2.svg","heptagon1.svg","pentagon3.svg","trapezium2.svg"]
0167                 },
0168                 {
0169                     "instructions": qsTr("Place the objects matching an OCTAGON to the right and others to the left"),
0170                     "image": imagesPrefix + "octagon.svg",
0171                     "maxNumberOfGood": 4,
0172                     "maxNumberOfBad": 5,
0173                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0174                     "good": ["octagon2.svg","octagon3.svg","octagon4.svg","octagon1.svg"],
0175                     "bad": ["rectangle_led.svg","decagon2.svg","hexagon2.svg","heptagon1.svg","nonagon2.svg"]
0176                 },
0177                 {
0178                     "instructions": qsTr("Place the objects matching a CYLINDER to the right and others to the left"),
0179                     "image": imagesPrefix + "cylinder.svg",
0180                     "maxNumberOfGood": 5,
0181                     "maxNumberOfBad": 4,
0182                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0183                     "good": ["rolling_pin.webp","tin.webp","can1.svg","can.svg", "trash.svg"],
0184                     "bad": ["halforange.svg","decagon3.svg","wcone.svg","juice2.svg"]
0185                 },
0186                 {
0187                     "instructions": qsTr("Place the objects matching a DECAGON to the right and others to the left"),
0188                     "image": imagesPrefix + "decagon.svg",
0189                     "maxNumberOfGood": 4,
0190                     "maxNumberOfBad": 5,
0191                     "prefix": "qrc:/gcompris/data/words-webp/shapes/",
0192                     "good": ["decagon3.svg","decagon4.svg","decagon1.svg","decagon2.svg"],
0193                     "bad": ["hexagon2.svg","nonagon1.svg","nonagon4.svg","octagon2.svg","heptagon1.svg"]
0194                 }
0195             ]
0196         }
0197     ]
0198 }