Warning, /education/gcompris/src/activities/target/resource/2/Data.qml is written in an unsupported language. File is not indexed.

0001 /* GCompris - Data.qml
0002  *
0003  * SPDX-FileCopyrightText: 2019 Akshay Kumar <email.akshay98@gmail.com>
0004  *
0005  * Authors:
0006  *   Akshay Kumar <email.akshay98@gmail.com>
0007  *
0008  *   SPDX-License-Identifier: GPL-3.0-or-later
0009  */
0010 import GCompris 1.0
0011 
0012 Data {
0013     objective: qsTr("Maximum value: 50.")
0014     difficulty: 3
0015     property var colors: [
0016         "#ee7f7f",
0017         "#eebf7f",
0018         "#e0ee7f",
0019         "#7fee8f",
0020         "#7fcbee",
0021         "#b8c8f6"
0022     ]
0023     data: [
0024         [
0025             {size: 50, color: colors[0], score: 20},
0026             {size: 100, color: colors[1], score: 10},
0027             {size: 150, color: colors[2], score: 8},
0028             {size: 200, color: colors[3], score: 4},
0029             {size: 250, color: colors[4], score: 2},
0030             {size: 300, color: colors[5], score: 1}
0031         ],
0032         [
0033             {size: 50, color: colors[0], score: 30},
0034             {size: 100, color: colors[1], score: 20},
0035             {size: 150, color: colors[2], score: 10},
0036             {size: 200, color: colors[3], score: 8},
0037             {size: 250, color: colors[4], score: 4},
0038             {size: 300, color: colors[5], score: 2},
0039             {size: 350, color: colors[5], score: 1}
0040         ],
0041         [
0042             {size: 50, color: colors[0], score: 50},
0043             {size: 100, color: colors[1], score: 20},
0044             {size: 150, color: colors[2], score: 10},
0045             {size: 200, color: colors[3], score: 8},
0046             {size: 250, color: colors[4], score: 4},
0047             {size: 300, color: colors[5], score: 2},
0048             {size: 350, color: colors[5], score: 1}
0049         ]
0050     ]
0051 }