~baltix/gcompris-qt/0.97.1

« back to all changes in this revision

Viewing changes to src/activities/smallnumbers/Smallnumbers.qml

  • Committer: Mantas Kriaučiūnas
  • Date: 2020-07-06 18:07:11 UTC
  • Revision ID: baltix@gmail.com-20200706180711-g254osu02cn8bc8p
GCompris-QT 0.97.1 with Lithuanian translation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* GCompris - smallnumbers.qml
 
2
 *
 
3
 * Copyright (C) 2014 Bruno Coudoin <bruno.coudoin@gcompris.net>
 
4
 *
 
5
 * Authors:
 
6
 *   Bruno Coudoin <bruno.coudoin@gcompris.net> (GTK+ version)
 
7
 *   Bruno Coudoin <bruno.coudoin@gcompris.net> (Qt Quick port)
 
8
 *
 
9
 *   This program is free software; you can redistribute it and/or modify
 
10
 *   it under the terms of the GNU General Public License as published by
 
11
 *   the Free Software Foundation; either version 3 of the License, or
 
12
 *   (at your option) any later version.
 
13
 *
 
14
 *   This program is distributed in the hope that it will be useful,
 
15
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
 *   GNU General Public License for more details.
 
18
 *
 
19
 *   You should have received a copy of the GNU General Public License
 
20
 *   along with this program; if not, see <https://www.gnu.org/licenses/>.
 
21
 */
 
22
import QtQuick 2.6
 
23
import GCompris 1.0
 
24
 
 
25
import "../../core"
 
26
import "../gletters"
 
27
 
 
28
Gletters {
 
29
    id: activity
 
30
 
 
31
    mode: "letter"
 
32
    activityName: "smallnumbers"
 
33
    dataSetUrl: "qrc:/gcompris/src/activities/smallnumbers/resource/"
 
34
 
 
35
    function getImage(key) {
 
36
        return dataSetUrl + "dice" + key + ".svg"
 
37
    }
 
38
}