Changeset View
Changeset View
Standalone View
Standalone View
src/activities/calendar/resource/3/Data.qml
- This file was added.
1 | /* GCompris - Data.qml | ||||
---|---|---|---|---|---|
2 | * | ||||
3 | * Copyright (C) 2019 Akshay Kumar <email.akshay98@gmail.com> | ||||
4 | * | ||||
5 | * Authors: | ||||
6 | * Akshay Kumar <email.akshay98@gmail.com> | ||||
7 | * | ||||
8 | * This program is free software; you can redistribute it and/or modify | ||||
9 | * it under the terms of the GNU General Public License as published by | ||||
10 | * the Free Software Foundation; either version 3 of the License, or | ||||
11 | * (at your option) any later version. | ||||
12 | * | ||||
13 | * This program is distributed in the hope that it will be useful, | ||||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
16 | * GNU General Public License for more details. | ||||
17 | * | ||||
18 | * You should have received a copy of the GNU General Public License | ||||
19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||||
20 | */ | ||||
21 | import QtQuick 2.6 | ||||
22 | import GCompris 1.0 | ||||
23 | import "../../../../core" | ||||
24 | | ||||
25 | Dataset { | ||||
26 | objective: qsTr("Calendar Questions involving several months") | ||||
27 | difficulty: 2 | ||||
28 | data: [ | ||||
29 | { | ||||
30 | "navigationBarVisible" : true, | ||||
31 | "minimumDate": "2018-01-01", | ||||
32 | "maximumDate": "2018-12-31", | ||||
33 | "visibleMonth": 1, | ||||
34 | "visibleYear": 2018, | ||||
35 | "mode": "findMonthOnly", | ||||
36 | "questionsExplicitlyGiven": true, | ||||
37 | "questionAnswers": [ | ||||
38 | { | ||||
39 | "question": qsTr("Find the month starting a Thursday and having 28 days"), | ||||
40 | "answer": {"month": [1]} | ||||
41 | }, | ||||
42 | { | ||||
43 | "question": qsTr("Find a month starting a Monday and having 31 days"), | ||||
44 | "answer": {"month": [0, 9]} | ||||
45 | }, | ||||
46 | { | ||||
47 | "question": qsTr("Find the month between June and August"), | ||||
48 | "answer": {"month": [6]} | ||||
49 | }, | ||||
50 | { | ||||
51 | "question": qsTr("Find a month starting a Saturday"), | ||||
52 | "answer": {"month": [8, 11]} | ||||
53 | }, | ||||
54 | { | ||||
55 | "question": qsTr("Find a month having 30 days"), | ||||
56 | "answer": {"month": [3, 5, 8, 10]} | ||||
57 | } | ||||
58 | ] | ||||
59 | }, | ||||
60 | { | ||||
61 | "navigationBarVisible" : true, | ||||
62 | "minimumDate": "2018-01-01", | ||||
63 | "maximumDate": "2019-12-31", | ||||
64 | "visibleMonth": 10, | ||||
65 | "visibleYear": 2018, | ||||
66 | "mode": "findYearMonthDay", | ||||
67 | "questionsExplicitlyGiven": false, | ||||
68 | "questionAnswers": { | ||||
69 | "length": 5, | ||||
70 | "maxOffset": 90 | ||||
71 | } | ||||
72 | }, | ||||
73 | { | ||||
74 | "navigationBarVisible" : true, | ||||
75 | "minimumDate": "2018-01-01", | ||||
76 | "maximumDate": "2019-12-31", | ||||
77 | "visibleMonth": 10, | ||||
78 | "visibleYear": 2018, | ||||
79 | "mode": "findYearMonthDay", | ||||
80 | "questionsExplicitlyGiven": false, | ||||
81 | "questionAnswers": { | ||||
82 | "length": 5, | ||||
83 | "maxOffset": 120 | ||||
84 | } | ||||
85 | }, | ||||
86 | { | ||||
87 | "navigationBarVisible" : true, | ||||
88 | "minimumDate": "2018-01-01", | ||||
89 | "maximumDate": "2019-12-31", | ||||
90 | "visibleMonth": 10, | ||||
91 | "visibleYear": 2018, | ||||
92 | "mode": "findYearMonthDay", | ||||
93 | "questionsExplicitlyGiven": true, | ||||
94 | "questionAnswers": [ | ||||
95 | { | ||||
96 | "question": qsTr("Find the first Monday of January month of year 2019"), | ||||
97 | "answer": {"year": 2019, "month": 0, "day": 7} | ||||
98 | }, | ||||
99 | { | ||||
100 | "question": qsTr("Find the second Wednesday of February month of year 2019"), | ||||
101 | "answer": {"year": 2019, "month": 1, "day": 13} | ||||
102 | }, | ||||
103 | { | ||||
104 | "question": qsTr("Find the third Friday of March month of year 2019"), | ||||
105 | "answer": {"year": 2019, "month": 2, "day": 15} | ||||
106 | }, | ||||
107 | { | ||||
108 | "question": qsTr("Find the fifth Sunday of April month of year 2018"), | ||||
109 | "answer": {"year": 2018, "month": 3, "day": 29} | ||||
110 | }, | ||||
111 | { | ||||
112 | "question": qsTr("Find the fourth Tuesday of July month of year 2018"), | ||||
113 | "answer": {"year": 2018, "month": 6, "day": 24} | ||||
114 | }, | ||||
115 | { | ||||
116 | "question": qsTr("Find the first Monday of August month of year 2018"), | ||||
117 | "answer": {"year": 2018, "month": 7, "day": 6} | ||||
118 | }, | ||||
119 | { | ||||
120 | "question": qsTr("Find the third Thursday of September month of year 2017"), | ||||
121 | "answer": {"year": 2017, "month": 8, "day": 21} | ||||
122 | }, | ||||
123 | { | ||||
124 | "question": qsTr("Find the fifth Sunday of October month of year 2017"), | ||||
125 | "answer": {"year": 2017, "month": 9, "day": 29} | ||||
126 | }, | ||||
127 | { | ||||
128 | "question": qsTr("Find the second Friday of December month of year 2017"), | ||||
129 | "answer": {"year": 2017, "month": 11, "day": 8} | ||||
130 | } | ||||
131 | ] | ||||
132 | } | ||||
133 | ] | ||||
134 | } |