Changeset View
Changeset View
Standalone View
Standalone View
src/activities/baby_tangram/BabyTangram.qml
- This file was copied from src/activities/find_the_day/FindTheDay.qml.
1 | /* GCompris - find_the_day.qml | 1 | /* GCompris - BabyTangram.qml | ||
---|---|---|---|---|---|
2 | * | 2 | * | ||
3 | * Copyright (C) 2018 Amit Sagtani <asagtani06@gmail.com> | 3 | * Copyright (C) 2019 Johnny Jazeix <jazeix@gmail.com> | ||
4 | * | 4 | * | ||
5 | * Authors: | 5 | * Authors: | ||
6 | * Amit Sagtani <asagtani06@gmail.com> | 6 | * Yves Combe / Philippe Banwarth (GTK+ version) | ||
7 | * Johnny Jazeix <jazeix@gmail.com> / Bruno Coudoin <bruno.coudoin@gcompris.net> (Qt Quick port) | ||||
7 | * | 8 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | 9 | * 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 | * 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 | * the Free Software Foundation; either version 3 of the License, or | ||
11 | * (at your option) any later version. | 12 | * (at your option) any later version. | ||
12 | * | 13 | * | ||
13 | * This program is distributed in the hope that it will be useful, | 14 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | 17 | * GNU General Public License for more details. | ||
17 | * | 18 | * | ||
18 | * You should have received a copy of the GNU General Public License | 19 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, see <https://www.gnu.org/licenses/>. | 20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. | ||
20 | */ | 21 | */ | ||
21 | import QtQuick 2.6 | 22 | import QtQuick 2.6 | ||
23 | import GCompris 1.0 | ||||
22 | 24 | | |||
23 | import "../calendar" | 25 | import "dataset.js" as Dataset | ||
24 | import "find_the_day_dataset.js" as Dataset | 26 | import "../tangram" | ||
27 | import "." | ||||
25 | 28 | | |||
26 | Calendar { | 29 | Tangram { | ||
30 | id: activity | ||||
27 | dataset: Dataset | 31 | dataset: Dataset | ||
28 | 32 | resourceUrl: "qrc:/gcompris/src/activities/baby_tangram/resource/" | |||
29 | } | 33 | } |