Warning, /education/gcompris/src/activities/target/resource/5/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: 500000.")
0014     difficulty: 6
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: 100},
0026             {size: 100, color: colors[1], score: 20},
0027             {size: 150, color: colors[2], score: 10},
0028             {size: 200, color: colors[3], score: 8},
0029             {size: 250, color: colors[4], score: 4},
0030             {size: 300, color: colors[5], score: 2},
0031             {size: 350, color: colors[5], score: 1}
0032         ],
0033         [
0034             {size: 50, color: colors[0], score: 10000},
0035             {size: 100, color: colors[1], score: 4000},
0036             {size: 150, color: colors[1], score: 1000},
0037             {size: 200, color: colors[2], score: 300},
0038             {size: 250, color: colors[2], score: 100},
0039             {size: 300, color: colors[3], score: 30},
0040             {size: 350, color: colors[3], score: 10},
0041             {size: 400, color: colors[4], score: 8},
0042             {size: 450, color: colors[4], score: 4},
0043             {size: 500, color: colors[5], score: 2},
0044             {size: 550, color: colors[5], score: 1}
0045         ],
0046         [
0047             {size: 50, color: colors[0], score: 500000},
0048             {size: 100, color: colors[1], score: 100000},
0049             {size: 150, color: colors[1], score: 50000},
0050             {size: 200, color: colors[2], score: 10000},
0051             {size: 250, color: colors[2], score: 4000},
0052             {size: 300, color: colors[3], score: 1000},
0053             {size: 350, color: colors[3], score: 300},
0054             {size: 400, color: colors[3], score: 100},
0055             {size: 450, color: colors[4], score: 30},
0056             {size: 500, color: colors[4], score: 10},
0057             {size: 550, color: colors[4], score: 8},
0058             {size: 600, color: colors[5], score: 4},
0059             {size: 650, color: colors[5], score: 2},
0060             {size: 700, color: colors[5], score: 1},
0061         ]
0062     ]
0063 }