diff --git a/src/activities/explore_monuments/AnimalLevels.qml b/src/activities/explore_monuments/AnimalLevels.qml index 002ed1b62..49e3c7627 100644 --- a/src/activities/explore_monuments/AnimalLevels.qml +++ b/src/activities/explore_monuments/AnimalLevels.qml @@ -1,114 +1,114 @@ /* GCompris - AnimalLevels.qml * * Copyright (C) 2015 Ayush Agrawal * * Authors: * Beth Hadley (GTK+ version) * Ayush Agrawal (Qt Quick port) * Djalil MESLI (Qt Quick port) * Johnny Jazeix (Qt Quick port) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ import QtQuick 2.2 import GCompris 1.0 import "../../core" import "explore-level.js" as Activity Image { id: animalImg width: animalWidth height: animalHeight sourceSize.width: width sourceSize.height: height fillMode: Image.PreserveAspectFit property string name: name property alias starVisible: star.visible property int questionId property string title property string description property string imageSource property string question property string audio signal displayDescription(variant animal) SequentialAnimation { id: anim running: true loops: 1 NumberAnimation { target: animalImg property: "rotation" from: 0; to: 360 duration: 400 + Math.floor(Math.random() * 400) easing.type: Easing.InOutQuad } } Image { id: star x: animalImg.width / 2.5 y: animalImg.height * 0.8 visible: false source:"qrc:/gcompris/src/core/resource/star.png" } MultiPointTouchArea { id: touchArea anchors.centerIn: parent // Make the item big enough to be clicked easily - width: Math.max(parent.width, 50 * ApplicationInfo.ratio) - height: Math.max(parent.height, 50 * ApplicationInfo.ratio) + width: Math.max(parent.width, 55 * ApplicationInfo.ratio) + height: Math.max(parent.height, 55 * ApplicationInfo.ratio) touchPoints: [ TouchPoint { id: point1 } ] mouseEnabled: true onPressed: { var questionTargetId = items.questionOrder[Activity.items.progressbar.value] Activity.items.instruction.visible = false if (Activity.items.score.currentSubLevel == 1) { audioEffects.play(animalImg.audio); displayDescription(animalImg) star.visible = true; } else { if (questionId === questionTargetId) { animWin.start(); items.bonus.good("smiley"); - pause.start(); + items.progressbar.value ++; Activity.nextSubSubLevel(); } else { items.bonus.bad("smiley") } } } } SequentialAnimation { id: animWin running: false loops: 1 NumberAnimation { target: animalImg property: "rotation" from: 0; to: 360 duration: 600 easing.type: Easing.InOutQuad } } } diff --git a/src/activities/explore_monuments/ExploreLevels.qml b/src/activities/explore_monuments/ExploreLevels.qml index ad022fbf4..e04ffa542 100644 --- a/src/activities/explore_monuments/ExploreLevels.qml +++ b/src/activities/explore_monuments/ExploreLevels.qml @@ -1,313 +1,324 @@ /* GCompris - ExploreLevels.qml * * Copyright (C) 2015 Ayush Agrawal * * Authors: * Beth Hadley (GTK+ version) * Ayush Agrawal (Qt Quick port) * Djalil MESLI (Qt Quick port) * Johnny Jazeix (Qt Quick port) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ import QtQuick 2.1 import GCompris 1.0 import QtGraphicalEffects 1.0 import QtQuick.Controls 1.4 import "../../core" import "explore-level.js" as Activity ActivityBase { id: activity property int numberofLevel property string url property bool hasAudioQuestions onStart: focus = true onStop: {} pageComponent: Item { id: background /* In order to accept any screen ratio the play area is always a 1000x1000 * square and is centered in a big background image that is 2000x2000 */ Image { id: bg source: dataset.item.backgroundImage sourceSize.width: 2000 * ApplicationInfo.ratio sourceSize.height: 2000 * ApplicationInfo.ratio width: 2000 * background.playRatio height: width anchors.centerIn: parent } Rectangle { width: background.playWidth height: background.playHeight anchors.centerIn: parent border.width: 2 border.color: "black" color: "transparent" visible: false /* debug to see the play area */ } property bool horizontalLayout: background.width > background.height property int playX: (activity.width - playWidth) / 2 property int playY: (activity.height - playHeight) / 2 property int playWidth: horizontalLayout ? activity.height : activity.width property int playHeight: playWidth property double playRatio: playWidth / 1000 focus: true signal start signal stop Component.onCompleted: { activity.start.connect(start) activity.stop.connect(stop) } // Add here the QML items you need to access in javascript QtObject { id: items property GCAudio audioEffects: activity.audioEffects property Item main: activity.main property alias background: background property alias bar: bar property alias bonus: bonus property alias score: score property alias progressbar: progressbar - property alias pause: pause + property alias ok: ok property alias dataModel: dataModel property alias dataset: dataset property alias instruction: instruction property alias instructionText: instructionText property alias descriptionPanel: descriptionPanel property bool hasAudioQuestions: activity.hasAudioQuestions property string currentAudio property var questionOrder property var currentQuestion: items.dataset ? items.dataset.item.tab[items.questionOrder[progressbar.value]] : "" } Loader{ id : dataset asynchronous: false onStatusChanged: { if (status == Loader.Ready) { // create table of size N filled with numbers from 0 to N items.questionOrder = Array.apply(null, {length: items.dataModel.count}).map(Number.call, Number) } } } onStart: { Activity.start(items, url, numberofLevel) } onStop: { Activity.stop() } Keys.onEscapePressed: { descriptionPanel.visible ? descriptionPanel.visible = false : home() } Repeater { id: dataModel model: dataset && dataset.item && dataset.item.tab ? dataset.item.tab.length : 0 AnimalLevels { questionId: index source: dataset.item.tab[index].image x: background.playX + background.playWidth * dataset.item.tab[index].x - width / 2 y: background.playY + background.playHeight * dataset.item.tab[index].y - height / 2 width: background.playWidth * dataset.item.tab[index].width height: background.playHeight * dataset.item.tab[index].height title: dataset.item.tab[index].title description: dataset.item.tab[index].text imageSource: dataset.item.tab[index].image2 question: dataset.item.tab[index].text2 audio: dataset.item.tab[index].audio !== undefined ? dataset.item.tab[index].audio : "" Component.onCompleted: { displayDescription.connect(displayDescriptionItem) } } } function displayDescriptionItem(animal) { descriptionPanel.title = animal.title descriptionPanel.description = animal.description descriptionPanel.imageSource = animal.imageSource descriptionPanel.visible = true } AnimalDescriptionLevels { id: descriptionPanel width: parent.width height: parent.height visible: false z: instruction.z + 1 onVisibleChanged: { if(visible) { animDescription.start() } else { // stop if audio was playing items.audioEffects.stop() } } NumberAnimation { id: animDescription target: descriptionPanel property: horizontalLayout ? "x" : "y" from: horizontalLayout ? -width : -height to: 0 duration: 1200 easing.type: Easing.OutBack } } Column { + id: progress visible: items.score.currentSubLevel != 1 anchors.bottom: parent.bottom anchors.right: parent.right anchors.margins: 10 * ApplicationInfo.ratio ProgressBar { id: progressbar height: questionText.height width: background.width / 2.5 property string message onValueChanged: message = value + "/" + maximumValue onMaximumValueChanged: message = value + "/" + maximumValue + GCText { id: progressbarText anchors.centerIn: parent fontSize: mediumSize font.bold: true color: "black" text: progressbar.message } } } - PauseAnimation { - id: pause - running: false - duration: 2000 + Image { + id: ok + visible: progressbar.value === progressbar.maximumValue + source:"qrc:/gcompris/src/core/resource/bar_ok.svg" + sourceSize.width: questionText.height * 2 + fillMode: Image.PreserveAspectFit + anchors.right: progress.left + anchors.bottom: parent.bottom + anchors.margins: 10 * ApplicationInfo.ratio + MouseArea { + anchors.fill: parent + onClicked: Activity.nextLevel() + } } Row { id: row spacing: 10 * ApplicationInfo.ratio anchors.fill: parent anchors.margins: 10 * ApplicationInfo.ratio layoutDirection: leftCol.width === 0 ? Qt.RightToLeft : Qt.LeftToRight Column { id: leftCol spacing: 10 * ApplicationInfo.ratio Rectangle { id: question width: row.width - rightCol.width - 10 * ApplicationInfo.ratio height: questionText.height color: '#CCCCCCCC' radius: 10 border.width: 3 border.color: "black" visible: items.score.currentSubLevel == 3 || (items.score.currentSubLevel == 2 && !items.hasAudioQuestions) GCText { id: questionText horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter anchors.centerIn: parent.Center color: "black" width: parent.width wrapMode: Text.Wrap text: items.currentQuestion ? items.currentQuestion.text2 : "" } } Rectangle { id: instruction width: row.width - rightCol.width - 10 * ApplicationInfo.ratio height: instructionText.height color: "#CCCCCCCC" radius: 10 border.width: 3 border.color: "black" GCText { id: instructionText horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter anchors.centerIn: parent.Center color: "black" width: parent.width wrapMode: Text.Wrap - text: (dataset.item && items.score.currentSubLevel - 1 != items.score.numberOfSubLevels && items.score.currentSubLevel - 1 != -1) ? dataset.item.instructions[items.score.currentSubLevel - 1].text : "" + text: (dataset.item && items.score.currentSubLevel - 1 != items.score.numberOfSubLevels && items.score.currentSubLevel != 0) ? dataset.item.instructions[items.score.currentSubLevel - 1].text : "" } MouseArea { anchors.fill: parent onClicked: instruction.visible = false enabled: instruction.visible } } } Column { id: rightCol spacing: 10 * ApplicationInfo.ratio Score { id: score anchors { bottom: undefined right: undefined } } BarButton { id: repeatItem source: "qrc:/gcompris/src/core/resource/bar_repeat.svg"; sourceSize.width: 60 * ApplicationInfo.ratio anchors.right: parent.right visible: items.score.currentSubLevel == 2 && activity.hasAudioQuestions //&& ApplicationSettings.isAudioVoicesEnabled onClicked: Activity.repeat(); } } } DialogHelp { id: dialogHelp onClose: home() } Bar { id: bar content: BarEnumContent { value: help | home | level | reload } onHelpClicked: { displayDialog(dialogHelp) } onPreviousLevelClicked: Activity.previousLevel() onNextLevelClicked: Activity.nextLevel() onHomeClicked: activity.home() onReloadClicked: Activity.start(items, url, numberofLevel) } Bonus { id: bonus } } } diff --git a/src/activities/explore_monuments/explore-level.js b/src/activities/explore_monuments/explore-level.js index 61230ce44..6532c5eac 100644 --- a/src/activities/explore_monuments/explore-level.js +++ b/src/activities/explore_monuments/explore-level.js @@ -1,141 +1,136 @@ /* GCompris - explore-level.js * * Copyright (C) 2015 Ayush Agrawal * * Authors: * Beth Hadley (GTK+ version) * Ayush Agrawal (Qt Quick port) * Djalil MESLI (Qt Quick port) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ .pragma library .import GCompris 1.0 as GCompris .import "qrc:/gcompris/src/core/core.js" as Core var numberofLevels var items var url var currentLevel function start(items_,url_,levelcount_) { items = items_ url = url_ numberofLevels = levelcount_ currentLevel = 1 items.score.currentSubLevel = 1 initLevel() } function stop() { items.audioEffects.stop() } function initLevel() { items.bar.level = (currentLevel) var filename = url + "board" + "/" + "board" + currentLevel + ".qml" items.dataset.source = filename items.progressbar.value = 0 items.progressbar.maximumValue = items.dataModel.count items.score.numberOfSubLevels = items.hasAudioQuestions ? 3 : 2; // randomize the questions for level 2 and 3 Core.shuffle(items.questionOrder); // Change the currentSubLevel value to 1 to be sure to update the question value // else if you are sublevel 0 and go to last level, the question is not the good one items.progressbar.value = 1 items.progressbar.value = 0 items.descriptionPanel.visible = false // Stop audio if necessary (switch from level 2 at beginning to a new level for example) items.audioEffects.stop() items.instruction.visible = true reload(); } function nextLevel() { - items.pause.running = true ++items.score.currentSubLevel if(numberofLevels <= currentLevel && items.score.numberOfSubLevels < items.score.currentSubLevel) { currentLevel = 0 } if (items.score.numberOfSubLevels < items.score.currentSubLevel) { currentLevel++ items.score.currentSubLevel = 1 } initLevel(); if (items.score.currentSubLevel == 2) { items.progressbar.value = 0; initSubSubLevel(); } } function previousLevel() { --items.score.currentSubLevel if(currentLevel <= 1 && items.score.currentSubLevel < 1) { currentLevel = numberofLevels items.score.currentSubLevel = items.score.numberOfSubLevels } else if(items.score.currentSubLevel < 1) { currentLevel-- items.score.currentSubLevel = items.score.numberOfSubLevels } initLevel(); if(items.score.currentSubLevel == 2 && items.hasAudioQuestions) { items.audioEffects.play(getCurrentQuestion().audio); } } function isComplete() { for(var i = 0 ; i < items.dataModel.count ; ++ i) { if(!items.dataModel.itemAt(i).starVisible) return false; } return true; } function initSubSubLevel() { if(items.progressbar.value == items.dataModel.count) { items.bonus.good("smiley"); - items.pause.running = true - items.progressbar.value = 0; - nextLevel() } if(items.score.currentSubLevel == 2 && items.hasAudioQuestions) { items.audioEffects.play(getCurrentQuestion().audio); } } function nextSubSubLevel() { - items.progressbar.value ++; initSubSubLevel() } function reload() { for(var i = 0 ; i < items.dataModel.count ; ++ i) { items.dataModel.itemAt(i).starVisible = false; } } function repeat() { items.audioEffects.play(getCurrentQuestion().audio); } function getCurrentQuestion() { return items.dataset.item.tab[items.questionOrder[items.progressbar.value]]; } diff --git a/src/activities/explore_monuments/resource/board/board1.qml b/src/activities/explore_monuments/resource/board/board1.qml index 1f641be19..bec466372 100644 --- a/src/activities/explore_monuments/resource/board/board1.qml +++ b/src/activities/explore_monuments/resource/board/board1.qml @@ -1,116 +1,115 @@ /* GCompris * - * Copyright (C) 2015 Bruno Coudoin + * Copyright (C) 2015 Ayush Agrawal * * Authors: * Bruno Coudoin (GTK+ version) - * Pulkit Gupta (Qt Quick port) + * Ayush Agrawal (Qt Quick port) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ import QtQuick 2.0 QtObject { - property string backgroundImage: "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/worldbg.jpg" -// property string instruction: qsTr("Drag and Drop the items to make them match") - property var tab : [ - { - "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", - "title": qsTr("Chichén Itzá"), - "text": qsTr("Chichén Itzá (at the mouth of the well of the Itza) was a large pre-Columbian city built by the Maya people of the Terminal Classic period. The archaeological site is located in Tinúm Municipality, Yucatán State, Mexico."), - "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/chichenItza.jpg", - "text2": qsTr("Chichén Itzá"), - "x" : "0.206", - "y" : "0.498", - "height" : "0.07", - "width" : "0.07" - }, - { - "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", - "title": qsTr("Colosseum"), - "text": qsTr("Colosseum is an oval amphitheatre in the centre of the city of Rome, Italy. Built of concrete and sand, it is the largest amphitheatre ever built and is considered one of the greatest works of architecture and engineering ever. Construction began under the emperor Vespasian in 72 AD, and was completed in 80 AD under his successor and heir Titus. Further modifications were made during the reign of Domitian (81–96)."), - "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/colosseum.jpg", - "text2": qsTr("Colosseum"), - "x" : "0.514", - "y" : "0.406", - "height" : "0.07", - "width" : "0.07" - }, - { - "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", - "title": qsTr("Christ the Redeemer"), - "text": qsTr("Christ the Redeemer is an Art Deco statue of Jesus Christ in Rio de Janeiro, Brazil. A symbol of Christianity across the world, the statue has also become a cultural icon of both Rio de Janeiro and Brazil."), - "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/christTheRedeemer.jpg", - "text2": qsTr("Christ the Redeemer"), - "x" : "0.351", - "y" : "0.628", - "height" : "0.07", - "width" : "0.07" - }, - { - "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", - "title": qsTr("The Great Wall of China"), - "text": qsTr("The Great Wall of China built along an east-to-west line across the historical northern borders of China to protect the Chinese states and empires against the raids and invasions of the various nomadic groups of the Eurasian Steppe. Several walls were being built as early as the 7th century. The Great Wall stretches from Dandong in the east, to Lop Lake in the west, along an arc that roughly delineates the southern edge of Inner Mongolia."), - "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/greatWallofChina.jpg", - "text2": qsTr("The Great Wall of China"), - "x" : "0.765", - "y" : "0.445", - "height" : "0.07", - "width" : "0.07" - }, - { - "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", - "title": qsTr("Machu Picchu"), - "text": qsTr("Machu Picchu is situated on a mountain ridge above the Sacred Valley which is 80 kilometres (50 mi) northwest of Cuzco and through which the Urubamba River flows. Most archaeologists believe that Machu Picchu was built as an estate for the Inca emperor Pachacuti (1438–1472). Often mistakenly referred to as the 'Lost City of the Incas', it is the most familiar icon of Inca civilization."), - "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/machuPicchu.jpg", - "text2": qsTr("Machu Picchu"), - "x" : "0.267", - "y" : "0.598", - "height" : "0.07", - "width" : "0.07" - }, - { - "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", - "title": qsTr("Petra"), - "text": qsTr("Petra is a historical and archaeological city in the southern Jordanian governorate of Ma'an that is famous for its rock-cut architecture and water conduit system. Established possibly as early as 312 BC as the capital city of the Arab Nabataeans, it is a symbol of Jordan, as well as Jordan's most-visited tourist attraction."), - "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/petra.jpg", - "text2": qsTr("Petra"), - "x" : "0.586", - "y" : "0.462", - "height" : "0.07", - "width" : "0.07" - }, - { - "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", - "title": qsTr("Taj Mahal, India"), - "text": qsTr("The Taj Mahal is a white marble mausoleum located on the southern bank of the Yamuna River in the Indian city of Agra. It was commissioned in 1632 by the Mughal emperor Shah Jahan reigned to house the tomb of his favorite wife of three, Mumtaz Mahal."), - "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/tajMahal.jpg", - "text2": qsTr("Taj Mahal"), - "x" : "0.692", - "y" : "0.471", - "height" : "0.07", - "width" : "0.07" - } - ] + property string backgroundImage: "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/worldbg.jpg" + property var tab : [ + { + "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", + "title": qsTr("Chichén Itzá"), + "text": qsTr("Chichén Itzá (at the mouth of the well of the Itza) was a large pre-Columbian city built by the Maya people of the Terminal Classic period. The archaeological site is located in Tinúm Municipality, Yucatán State, Mexico."), + "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/chichenItza.jpg", + "text2": qsTr("Chichén Itzá"), + "x" : "0.206", + "y" : "0.498", + "height" : "0.07", + "width" : "0.07" + }, + { + "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", + "title": qsTr("Colosseum"), + "text": qsTr("Colosseum is an oval amphitheatre in the centre of the city of Rome, Italy. Built of concrete and sand, it is the largest amphitheatre ever built and is considered one of the greatest works of architecture and engineering ever. Construction began under the emperor Vespasian in 72 AD, and was completed in 80 AD under his successor and heir Titus. Further modifications were made during the reign of Domitian (81–96)."), + "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/colosseum.jpg", + "text2": qsTr("Colosseum"), + "x" : "0.514", + "y" : "0.406", + "height" : "0.07", + "width" : "0.07" + }, + { + "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", + "title": qsTr("Christ the Redeemer"), + "text": qsTr("Christ the Redeemer is an Art Deco statue of Jesus Christ in Rio de Janeiro, Brazil. A symbol of Christianity across the world, the statue has also become a cultural icon of both Rio de Janeiro and Brazil."), + "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/christTheRedeemer.jpg", + "text2": qsTr("Christ the Redeemer"), + "x" : "0.351", + "y" : "0.628", + "height" : "0.07", + "width" : "0.07" + }, + { + "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", + "title": qsTr("The Great Wall of China"), + "text": qsTr("The Great Wall of China built along an east-to-west line across the historical northern borders of China to protect the Chinese states and empires against the raids and invasions of the various nomadic groups of the Eurasian Steppe. Several walls were being built as early as the 7th century. The Great Wall stretches from Dandong in the east, to Lop Lake in the west, along an arc that roughly delineates the southern edge of Inner Mongolia."), + "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/greatWallofChina.jpg", + "text2": qsTr("The Great Wall of China"), + "x" : "0.765", + "y" : "0.445", + "height" : "0.07", + "width" : "0.07" + }, + { + "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", + "title": qsTr("Machu Picchu"), + "text": qsTr("Machu Picchu is situated on a mountain ridge above the Sacred Valley which is 80 kilometres (50 mi) northwest of Cuzco and through which the Urubamba River flows. Most archaeologists believe that Machu Picchu was built as an estate for the Inca emperor Pachacuti (1438–1472). Often mistakenly referred to as the 'Lost City of the Incas', it is the most familiar icon of Inca civilization."), + "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/machuPicchu.jpg", + "text2": qsTr("Machu Picchu"), + "x" : "0.267", + "y" : "0.598", + "height" : "0.07", + "width" : "0.07" + }, + { + "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", + "title": qsTr("Petra"), + "text": qsTr("Petra is a historical and archaeological city in the southern Jordanian governorate of Ma'an that is famous for its rock-cut architecture and water conduit system. Established possibly as early as 312 BC as the capital city of the Arab Nabataeans, it is a symbol of Jordan, as well as Jordan's most-visited tourist attraction."), + "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/petra.jpg", + "text2": qsTr("Petra"), + "x" : "0.586", + "y" : "0.462", + "height" : "0.07", + "width" : "0.07" + }, + { + "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", + "title": qsTr("Taj Mahal, India"), + "text": qsTr("The Taj Mahal is a white marble mausoleum located on the southern bank of the Yamuna River in the Indian city of Agra. It was commissioned in 1632 by the Mughal emperor Shah Jahan reigned to house the tomb of his favorite wife of three, Mumtaz Mahal."), + "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/tajMahal.jpg", + "text2": qsTr("Taj Mahal"), + "x" : "0.692", + "y" : "0.471", + "height" : "0.07", + "width" : "0.07" + } + ] property var instructions : [ - { - "text": qsTr("The 7 Wonders of World.") - }, - { - "text": qsTr("Click on location where the given Monument is located.") - } - ] + { + "text": qsTr("The 7 Wonders of World.") + }, + { + "text": qsTr("Click on location where the given Monument is located.") + } + ] } diff --git a/src/activities/explore_monuments/resource/board/board2.qml b/src/activities/explore_monuments/resource/board/board2.qml index 736298bbf..c52285ed3 100644 --- a/src/activities/explore_monuments/resource/board/board2.qml +++ b/src/activities/explore_monuments/resource/board/board2.qml @@ -1,170 +1,169 @@ /* GCompris * - * Copyright (C) 2015 Bruno Coudoin + * Copyright (C) 2015 Ayush Agrawal * * Authors: * Bruno Coudoin (GTK+ version) - * Pulkit Gupta (Qt Quick port) + * Ayush Agrawal (Qt Quick port) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ import QtQuick 2.0 QtObject { property string backgroundImage: "qrc:/gcompris/src/activities/explore_monuments/resource/india/indiabg.jpg" - // property string instruction: qsTr("Drag and Drop the items to make them match") property var tab : [ { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Golden Temple"), "text": qsTr("The Harmandir Sahib, also Darbar Sahib and informally referred to as the 'Golden Temple', is the holiest Sikh gurdwara located in the city of Amritsar, Punjab, India. The city was founded in 1574 by the fourth Sikh guru, Guru Ram Das. The Harmandir Sahib was designed by the fifth guru, Guru Arjan, who had the cornerstone laid by the Muslim Sufi saint Sai Hazrat Mian Mir on 28 December 1588. Guru Arjan completed the Adi Granth, the holy scripture of Sikhism, in 1604 and installed it in the gurdwara."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/goldenTemple.jpg", "text2" : qsTr("Golden Temple"), "x" : "0.256", "y" : "0.206", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Hawa Mahal"), "text": qsTr("Hawa Mahal, is a palace in Jaipur, India, so named because it was essentially a high screen wall built so the women of the royal household could observe street festivals while unseen from the outside. Constructed of red and pink sandstone, the palace sits on the edge of the City Palace, and extends to the zenana, or women's chambers."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/hawaMahal.jpg", "text2" : qsTr("Hawa Mahal"), "x" : "0.230", "y" : "0.290", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Taj Mahal"), "text": qsTr("The Taj Mahal is a white marble mausoleum located on the southern bank of the Yamuna River in the Indian city of Agra. It was commissioned in 1632 by the Mughal emperor Shah Jahan reigned to house the tomb of his favorite wife of three, Mumtaz Mahal."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/tajMahal.jpg", "text2" : qsTr("Taj Mahal"), "x" : "0.416", "y" : "0.298", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Gateway of India"), "text": qsTr("The Gateway of India is a monument built during the British Rule in Mumbai City of Maharashtra state in Western India. It is located on the waterfront in the Apollo Bunder area in South Mumbai and overlooks the Arabian Sea. The structure is a basalt arch, 26 metres (85 feet) high. It lies at the end of Chhatrapati Shivaji Marg at the water's edge in Mumbai Harbour. It was a crude jetty used by the fishing community which was later renovated and used as a landing place for British governors and other prominent people. In earlier times, it would have been the first structure that visitors arriving by boat in Mumbai would have seen."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/gatewayofIndia.jpg", "text2" : qsTr("Gateway of India"), "x" : "0.179", "y" : "0.540", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Great Stupa"), "text": qsTr("The Great Stupa at Sanchi is the oldest stone structure in India and was originally commissioned by the emperor Ashoka the Great in the 3rd century BCE. Its nucleus was a simple hemispherical brick structure built over the relics of the Buddha. It was crowned by the chatra, a parasol-like structure symbolising high rank, which was intended to honour and shelter the relics."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/greatStupa.jpg", "text2" : qsTr("Great Stupa"), "x" : "0.329", "y" : "0.396", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Ajanta Caves"), "text": qsTr("The Ajanta Caves in Aurangabad district of Maharashtra state of India are about 30 rock-cut Buddhist cave monuments which date from the 2nd century BCE to about 480 or 650 CE. The caves include paintings and sculptures described by the government Archaeological Survey of India as 'the finest surviving examples of Indian art, particularly painting', which are masterpieces of Buddhist religious art, with figures of the Buddha and depictions of the Jataka tales."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/ajantaCave.jpg", "text2" : qsTr("Ajanta Caves"), "x" : "0.304", "y" : "0.502", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Konark Sun Temple"), "text": qsTr("Konark Sun Temple is a 13th-century Sun Temple at Konark in Odisha, India. It is believed that the temple was built by king Narasimhadeva I of Eastern Ganga Dynasty around 1250 CE. The temple is in the shape of a gigantic chariot elaborately carved stone wheels, pillars and walls. A major part of the structure is now in ruins. The temple is a UNESCO World Heritage Site and has also featured on various list of Seven Wonders of India."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/konarkSunTemple.jpg", "text2" : qsTr("Konark Sun Temple"), "x" : "0.506", "y" : "0.538", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Mysore Palace"), "text": qsTr("The Palace of Mysore is a historical palace in the city of Mysore in Karnataka, southern India. It is the official residence and seat of the Wodeyars — the Maharajas of Mysore, the royal family of Mysore, who ruled the princely state from 1350 to 1950. The palace houses two durbar halls (ceremonial meeting halls of the royal court) and incorporates a mesmerizing and gigantic array of courtyards, gardens, and buildings. The palace is in the central region of inner Mysore, facing the Chamundi Hills eastward."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/mysorePalace.jpg", "text2" : qsTr("Mysore Palace"), "x" : "0.295", "y" : "0.748", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Charminar"), "text": qsTr("The Charminar, constructed in 1591 CE, is a monument and mosque located in Hyderabad, Telangana, India. The landmark has become a global icon of Hyderabad, listed among the most recognized structures of India. The Charminar is situated on the east bank of Musi river. To the west lies the Laad Bazaar, and to the southwest lies the richly ornamented granite Makkah Masjid. It is listed as an archaeological and architectural treasure on the official 'List of Monuments' prepared by the Archaeological Survey of India under the The Ancient Monuments and Archaeological Sites and Remains Act."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/charminar.jpg", "text2" : qsTr("Charminar"), "x" : "0.360", "y" : "0.588", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Victoria Memorial"), "text": qsTr("The Victoria Memorial is a large marble building in Kolkata (Calcutta), West Bengal, India which was built between 1906 and 1921. It is dedicated to the memory of Queen Victoria (1819–1901) and is now a museum and tourist destination under the auspices of the Ministry of Culture. The Memorial lies on the Maidan (grounds) by the bank of the Hooghly River, near Jawaharlal Nehru road."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/victoriaMemorials.jpg", "text2" : qsTr("Victoria Memorial"), "x" : "0.670", "y" : "0.414", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Rang Ghar"), "text": qsTr("The Rang Ghar is a two-storied building which once served as the royal sports-pavilion where Ahom kings and nobles were spectators at games like buffalo fights and other sports at Rupahi Pathar - particularly during the Rongali Bihu festival in the Ahom capital of Rangpur."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/rangGhar.jpg", "text2" : qsTr("Rang Ghar"), "x" : "0.860", "y" : "0.306", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Qutub Minar"), "text": qsTr("Qutub Minar at 74 meters, is the tallest brick minaret in the world, and the second tallest minar in India after Fateh Burj at Mohali. Qutub Minar, along with the ancient and medieval monuments surrounding it, form the Qutb Complex, which is a UNESCO World Heritage Site. The tower is located in the Mehrauli area of Delhi, India. Made of red sandstone and marble."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/india/qutubMinar.jpg", "text2" : qsTr("Qutub Minar"), "x" : "0.328", "y" : "0.254", "height" : "0.07", "width" : "0.07" } ] property var instructions : [ { "text": qsTr("Monuments of India.") }, { "text": qsTr("Click on location where the given Monument is located.") } ] } diff --git a/src/activities/explore_monuments/resource/board/board3.qml b/src/activities/explore_monuments/resource/board/board3.qml index 6d8b25af1..c70016f94 100644 --- a/src/activities/explore_monuments/resource/board/board3.qml +++ b/src/activities/explore_monuments/resource/board/board3.qml @@ -1,148 +1,147 @@ /* GCompris * - * Copyright (C) 2015 Bruno Coudoin + * Copyright (C) 2015 Ayush Agrawal * * Authors: * Bruno Coudoin (GTK+ version) - * Pulkit Gupta (Qt Quick port) + * Ayush Agrawal * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ import QtQuick 2.0 QtObject { property string backgroundImage: "qrc:/gcompris/src/activities/explore_monuments/resource/france/francebg.jpg" - // property string instruction: qsTr("Drag and Drop the items to make them match") property var tab : [ { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Mont-Saint-Michel"), "text": qsTr("Le Mont-Saint-Michel is an island commune in Normandy, France. The island has held strategic fortifications since ancient times and since the 8th century AD has been the seat of the monastery from which it draws its name. The structural composition of the town exemplifies the feudal society that constructed it: on top, God, the abbey and monastery; below, the great halls; then stores and housing; and at the bottom, outside the walls, houses for fishermen and farmers."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/montStMichel.jpg", "text2" : qsTr("Mont-Saint-Michel"), "x" : "0.278", "y" : "0.268", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Cité de Carcassonne"), "text": qsTr("The Cité de Carcassonne is a medieval citadel located in the French city of Carcassonne. Founded during the Gallo-Roman period, the citadel derives its reputation from its 3 kilometres (1.9 mi) long double surrounding walls interspersed by 52 towers. The town has about 2,500 years of history and has seen the Romans, Visigoths, Saracens and Crusaders. At the beginning of its history it was a Gaulish settlement then in the 3rd century A.D., the Romans decided to transform it into a fortified town. The town was finally annexed to the kingdom of France in 1247 A.D. It provided a strong French frontier between France and the Crown of Aragon."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/citedeCarcassonne.jpg", "text2" : qsTr("Cité de Carcassonne"), "x" : "0.588", "y" : "0.875", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Reims Cathedral"), "text": qsTr("Notre-Dame de Reims (Our Lady of Reims) is the seat of the Archdiocese of Reims, where the kings of France were crowned. The cathedral replaced an older church, destroyed by fire in 1211, that was built on the site of the basilica where Clovis was baptized by Saint Remi, bishop of Reims, in AD 496. That original structure had itself been erected on the site of some Roman baths. A major tourism destination, the cathedral receives about one million visitors annually."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/reimsCathedral.jpg", "text2" : qsTr("Reims Cathedral"), "x" : "0.687", "y" : "0.196", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Pont du Gard"), "text": qsTr("The Pont du Gard is an ancient Roman aqueduct that crosses the Gardon River in the south of France. Located near the town of Vers-Pont-du-Gard, the bridge is part of the Nîmes aqueduct, a 50-kilometer system built in the first century AD to carry water from a spring at Uzès to the Roman colony of Nemausus (Nîmes) Because of the uneven terrain between the two points, the mostly underground aqueduct followed a long, winding route that called for a bridge across the gorge of the Gardon River. The Pont du Gard is the highest of all elevated Roman aqueducts, and, along with the Aqueduct of Segovia, one of the best preserved. It was added to UNESCO's list of World Heritage Sites in 1985 because of its historical importance."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/pontduGard.jpg", "text2" : qsTr("Pont du Gard"), "x" : "0.691", "y" : "0.757", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Arles Amphitheatre"), "text": qsTr("The Arles Amphitheatre is a Roman amphitheatre in the southern French town of Arles. This two-tiered Roman amphitheatre is probably the most prominent tourist attraction in the city of Arles, which thrived in Roman times. The pronounced towers jutting out from the top are medieval add-ons. Built in 90 AD, the amphitheatre was capable of seating over 20,000 spectators, and was built to provide entertainment in the form of chariot races and bloody hand-to-hand battles. Today, it draws large crowds for bullfighting during the Feria d'Arles as well as plays and concerts in summer."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/arlesAmphitheater.jpg", "text2" : qsTr("Arles Amphitheatre"), "x" : "0.730", "y" : "0.831", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Château de Chambord"), "text": qsTr("The royal Château de Chambord at Chambord, Loir-et-Cher, France, is one of the most recognizable châteaux in the world because of its very distinctive French Renaissance architecture which blends traditional French medieval forms with classical Renaissance structures. The building, which was never completed, was constructed by King Francis I of France."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/chateaudeChambord.jpg", "text2" : qsTr("Château de Chambord"), "x" : "0.456", "y" : "0.388", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Rocamadour"), "text": qsTr("Rocamadour has attracted visitors for its setting in a gorge above a tributary of the River Dordogne, and especially for its historical monuments and its sanctuary of the Blessed Virgin Mary, which for centuries has attracted pilgrims from every country, among them kings, bishops, and nobles."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/rocamadour.jpg", "text2" : qsTr("Rocamadour"), "x" : "0.538", "y" : "0.658", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Palais des Papes"), "text": qsTr("The Palais des Papes is a historical palace in Avignon, southern France, one of the largest and most important medieval Gothic buildings in Europe. One time fortress and palace, the papal residence was the seat of Western Christianity during the 14th century. Six papal conclaves were held in the Palais, leading to the elections of Benedict XII in 1334, Clement VI in 1342, Innocent VI in 1352, Urban V in 1362, Gregory XI in 1370 and Antipope Benedict XIII in 1394."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/palaisdesPapes.jpg", "text2" : qsTr("Palais des Papes"), "x" : "0.771", "y" : "0.768", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Château de Chenonceau"), "text": qsTr("The Château de Chenonceau is a French château spanning the River Cher, near the small village of Chenonceaux in the Indre-et-Loire département of the Loire Valley in France. It is one of the best-known châteaux of the Loire valley."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/chateaudeChenonceau.jpg", "text2" : qsTr("Château de Chenonceau"), "x" : "0.449", "y" : "0.464", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Eiffel Tower"), "text": qsTr("The Eiffel Tower is a wrought iron lattice tower on the Champ de Mars in Paris, France. It is named after the engineer Gustave Eiffel, whose company designed and built the tower. Constructed in 1889 as the entrance to the 1889 World's Fair, it was initially criticized by some of France's leading artists and intellectuals for its design, but has become a global cultural icon of France and one of the most recognisable structures in the world. The tower is the tallest structure in Paris and the most-visited paid monument in the world: 6.98 million people ascended it in 2011. The tower received its 250 millionth visitor in 2010."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/france/eiffelTower.jpg", "text2" : qsTr("Eiffel Tower"), "x" : "0.538", "y" : "0.304", "height" : "0.07", "width" : "0.07" }, ] property var instructions : [ { "text": qsTr("Monuments of France.") }, { "text": qsTr("Click on location where the given Monument is located.") } ] } diff --git a/src/activities/explore_monuments/resource/board/board4.qml b/src/activities/explore_monuments/resource/board/board4.qml index 5f5026b13..7d6e82b8b 100644 --- a/src/activities/explore_monuments/resource/board/board4.qml +++ b/src/activities/explore_monuments/resource/board/board4.qml @@ -1,115 +1,114 @@ /* GCompris * - * Copyright (C) 2015 Bruno Coudoin + * Copyright (C) 2015 Ayush Agrawal * * Authors: * Bruno Coudoin (GTK+ version) - * Pulkit Gupta (Qt Quick port) + * Ayush Agrawal * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ import QtQuick 2.0 QtObject { property string backgroundImage: "qrc:/gcompris/src/activities/explore_monuments/resource/germany/germanybg.jpg" - // property string instruction: qsTr("Drag and Drop the items to make them match") property var tab : [ { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Neuschwanstein Castle"), "text": qsTr("Neuschwanstein Castle is a nineteenth-century Romanesque Revival palace on a rugged hill above the village of Hohenschwangau near Füssen in southwest Bavaria, Germany. The palace was commissioned by Ludwig II of Bavaria as a retreat and as an homage to Richard Wagner. Ludwig paid for the palace out of his personal fortune and by means of extensive borrowing, rather than Bavarian public funds."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/germany/neuschwansteinCastle.jpg", "text2" : qsTr("Neuschwanstein Castle"), "x" : "0.525", "y" : "0.938", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Trier Imperial Baths"), "text": qsTr("The Trier Imperial Baths are a large Roman bath complex in Trier, Germany. It is designated as part of the Roman Monuments, Cathedral of St. Peter and Church of Our Lady in Trier UNESCO World Heritage Site."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/germany/trierImperialBaths.jpg", "text2" : qsTr("Trier Imperial Baths"), "x" : "0.205", "y" : "0.721", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Brandenburg Gate"), "text": qsTr("The Brandenburg Gate is an 18th-century neoclassical triumphal arch in Berlin, and one of the best-known landmarks of Germany. It is built on the site of a former city gate that marked the start of the road from Berlin to the town of Brandenburg an der Havel."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/germany/brandenburgGate.jpg", "text2" : qsTr("Brandenburg Gate"), "x" : "0.753", "y" : "0.331", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Berlin Cathedral"), "text": qsTr("Berlin Cathedral is the short name for the Evangelical (i.e. Protestant) Supreme Parish and Collegiate Church in Berlin, Germany. It is located on Museum Island in the Mitte borough. The current building was finished in 1905 and is a main work of Historicist architecture of the 'Kaiserzeit'."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/germany/berlinCathedral.jpg", "text2" : qsTr("Berlin Cathedral"), "x" : "0.736", "y" : "0.255", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Schwerin Palace"), "text": qsTr("Schwerin Palace, or Schwerin Castle, is a palatial schloss located in the city of Schwerin, the capital of Mecklenburg-Vorpommern state, Germany. It is situated on an island in the city's main lake, the Schweriner See. For centuries the palace was the home of the dukes and grand dukes of Mecklenburg and later Mecklenburg-Schwerin. Today it serves as the residence of the Mecklenburg-Vorpommern state parliament."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/germany/schwerinPalace.jpg", "text2" : qsTr("Schwerin Palace"), "x" : "0.585", "y" : "0.206", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Aula Palatina"), "text": qsTr("The Basilica of Constantine, or Aula Palatina, at Trier, Germany is a Roman palace basilica that was built by the emperor Constantine (AD 306–337) at the beginning of the 4th century. Today it is used as the Church of the Redeemer and owned by a congregation within the Evangelical Church in the Rhineland. The basilica contains the largest extant hall from antiquity and is ranked a World Heritage Site. The hall has a length of 67 m, a width of 26.05 m and a height of 33 m. It is designated as part of the Roman Monuments, Cathedral of St. Peter and Church of Our Lady in Trier UNESCO World Heritage Site."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/germany/aulaPalatina.jpg", "text2" : qsTr("Aula Palatina"), "x" : "0.245", "y" : "0.655", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Worms Cathedral"), "text": qsTr("The Cathedral of St Peter is a church in Worms, southern Germany. It was the seat of the Catholic Prince-Bishopric of Worms until its extinction in 1800. It is a basilica with four round towers, two large domes, and a choir at each end. The interior is built in red sandstone. Today, the Wormser Dom is a Catholic parish church, honoured with the title of 'Minor Basilica'."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/germany/wormsCathedral.jpg", "text2" : qsTr("Worms Cathedral"), "x" : "0.332", "y" : "0.697", "height" : "0.07", "width" : "0.07" }, ] property var instructions : [ { "text": qsTr("Monuments of Germany") }, { "text": qsTr("Click on location where the given Monument is located.") } ] } diff --git a/src/activities/explore_monuments/resource/board/board5.qml b/src/activities/explore_monuments/resource/board/board5.qml index 77dc93ef7..03ff3d25e 100644 --- a/src/activities/explore_monuments/resource/board/board5.qml +++ b/src/activities/explore_monuments/resource/board/board5.qml @@ -1,148 +1,147 @@ /* GCompris * - * Copyright (C) 2015 Bruno Coudoin + * Copyright (C) 2015 Ayush Agrawal * * Authors: * Bruno Coudoin (GTK+ version) - * Pulkit Gupta (Qt Quick port) + * Ayush Agrawal (Qt Quick port) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ import QtQuick 2.0 QtObject { property string backgroundImage: "qrc:/gcompris/src/activities/explore_monuments/resource/usa/usbg.jpg" - // property string instruction: qsTr("Drag and Drop the items to make them match") property var tab : [ { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Cabrillo"), "text": qsTr("Cabrillo National Monument is located at the southern tip of the Point Loma Peninsula in San Diego, California. It commemorates the landing of Juan Rodríguez Cabrillo at San Diego Bay on September 28, 1542. This event marked the first time that a European expedition had set foot on what later became the West Coast of the United States. The site was designated as California Historical Landmark #56 in 1932. As with all historical units of the National Park Service, Cabrillo was listed on the National Register of Historic Places on October 15, 1966."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/cabrillo.jpg", "text2" : qsTr("Cabrillo"), "x" : "0.182", "y" : "0.586", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Canyon de Chelly"), "text": qsTr("Canyon de Chelly National Monument was established on April 1, 1931 as a unit of the National Park Service. It is located in northeastern Arizona within the boundaries of the Navajo Nation. Reflecting one of the longest continuously inhabited landscapes of North America, it preserves ruins of the early indigenous tribes that lived in the area, including the Ancient Pueblo Peoples (also called Anasazi) and Navajo. The monument covers 83,840 acres (131.0 sq mi; 339.3 km2) and encompasses the floors and rims of the three major canyons: de Chelly, del Muerto, and Monument. These canyons were cut by streams with headwaters in the Chuska mountains just to the east of the monument. None of the land is federally owned. In 2009 Canyon de Chelly National Monument was recognized as one of the most-visited national monuments in the United States."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/canyondeChelly.jpg", "text2" : qsTr("Canyon de Chelly"), "x" : "0.277", "y" : "0.569", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Castillo de San Marcos"), "text": qsTr("The Castillo de San Marcos is the oldest masonry fort in the continental United States. Located on the western shore of Matanzas Bay in the city of St. Augustine, Florida, the fort was designed by the Spanish engineer Ignacio Daza. Construction began in 1672, 107 years after the city's founding by Spanish Admiral and conquistador Pedro Menéndez de Avilés, when Florida was part of the Spanish Empire. The fort's construction was ordered by Governor Francisco de la Guerra y de la Vega after the destructive raid of the English privateer Robert Searles in 1668. Work proceeded under the administration of Guerra's successor, Manuel de Cendoya in 1671, although the first stone was not laid until 1672."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/castillodeSanMarcos.jpg", "text2" : qsTr("Castillo de San Marcos"), "x" : "0.759", "y" : "0.668", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Castle Clinton"), "text": qsTr("Castle Clinton or Fort Clinton, once known as Castle Garden, is a circular sandstone fort now located in Battery Park, in Manhattan, New York City. It is perhaps best remembered as America's first immigration station (predating Ellis Island), where more than 8 million people arrived in the U.S. from 1855 to 1890. Over its active life, it has also functioned as a beer garden, exhibition hall, theater, public aquarium, and finally today as a national monument."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/castleClinton.jpg", "text2" : qsTr("Castle Clinton"), "x" : "0.841", "y" : "0.390", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("George Washington Birthplace"), "text": qsTr("The George Washington Birthplace National Monument is in Westmoreland County, Virginia, United States. Originally settled by John Washington, George Washington's great-grandfather, George Washington was born here on February 22, 1732. He lived here until age three, returning later as a teenager."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/georgeWashingtonBirthplace.jpg", "text2" : qsTr("George Washington Birthplace"), "x" : "0.836", "y" : "0.532", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Lincoln Memorial"), "text": qsTr("The Lincoln Memorial is an American national monument built to honor the 16th President of the United States, Abraham Lincoln. It is located on the western end of the National Mall in Washington, D.C., across from the Washington Monument. The architect was Henry Bacon; the designer of the primary statue – Abraham Lincoln, 1920 – was Daniel Chester French; the Lincoln statue was carved by the Piccirilli Brothers; and the painter of the interior murals was Jules Guerin. Dedicated in 1922, it is one of several monuments built to honor an American president. It has always been a major tourist attraction and since the 1930s has been a symbolic center focused on race relations."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/lincolnMemorial.jpg", "text2" : qsTr("Lincoln Memorial"), "x" : "0.791", "y" : "0.456", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Mount Rushmore"), "text": qsTr("Mount Rushmore National Memorial is a sculpture carved into the granite face of Mount Rushmore (Lakota Sioux name: Six Grandfathers) near Keystone, South Dakota, in the United States. Sculpted by Danish-American Gutzon Borglum and his son, Lincoln Borglum, Mount Rushmore features 60-foot (18 m) sculptures of the heads of four United States presidents: George Washington (1732–1799), Thomas Jefferson (1743–1826), Theodore Roosevelt (1858–1919), and Abraham Lincoln (1809–1865) The entire memorial covers 1,278.45 acres (2.00 sq mi; 5.17 km2) and is 5,725 feet (1,745 m) above sea level."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/mountRushmore.jpg", "text2" : qsTr("Mount Rushmore"), "x" : "0.492", "y" : "0.399", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Navajo"), "text": qsTr("Navajo National Monument is a National Monument located within the northwest portion of the Navajo Nation territory in northern Arizona, which was established to preserve three-well preserved cliff dwellings of the Ancestral Puebloan People: Keet Seel (Kitsʼiil), Betatakin (Bitátʼahkin), and Inscription House (Tsʼah Biiʼ Kin). The monument is high on the Shonto plateau, overlooking the Tsegi Canyon system, west of Kayenta, Arizona. It features a visitor center with a museum, two short self-guided mesa top trails, two small campgrounds, and a picnic area. Rangers guide visitors on free tours of the Keet Seel and Betatakin cliff dwellings. The Inscription House site, further west, is currently closed to public access."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/navajo.jpg", "text2" : qsTr("Navajo"), "x" : "0.300", "y" : "0.498", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Statue of Liberty"), "text": qsTr("The Statue of Liberty is a colossal neoclassical sculpture on Liberty Island in New York Harbor in New York City, in the United States. The copper statue, designed by Frédéric Auguste Bartholdi, a French sculptor, was built by Gustave Eiffel and dedicated on October 28, 1886. It was a gift to the United States from the people of France."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/statueofLiberty.jpg", "text2" : qsTr("Statue of Liberty"), "x" : "0.860", "y" : "0.319", "height" : "0.07", "width" : "0.07" }, { "image": "qrc:/gcompris/src/activities/explore_monuments/resource/wonders/key.png", "title": qsTr("Fort Sumter"), "text": qsTr("Fort Sumter is a sea fort in Charleston, South Carolina, notable for two battles of the American Civil War. It was one of a number of many special forts planned after the War of 1812, combining high walls and heavy masonry, and classified as Third System, as a grade of structural integrity. Work started in 1829, but was incomplete by 1860, when South Carolina seceded from the Union. It is open for public tours as part of the Fort Sumter National Monument operated by the National Park Service."), "image2": "qrc:/gcompris/src/activities/explore_monuments/resource/usa/fortSumter.jpg", "text2" : qsTr("Fort Sumter"), "x" : "0.769", "y" : "0.589", "height" : "0.07", "width" : "0.07" }, ] property var instructions : [ { "text": qsTr("Monuments of US") }, { "text": qsTr("Click on location where the given Monument is located.") } ] }