Warning, /education/gcompris/src/activities/numbers-odd-even/resource/Tutorial1.qml is written in an unsupported language. File is not indexed.

0001 /* GCompris - Tutorial1.qml
0002  *
0003  * SPDX-FileCopyrightText: 2019 Deepak Kumar <deepakdk2431@gmail.com>
0004  *
0005  * Authors:
0006  *   Deepak Kumar <deepakdk2431@gmail.com>
0007  *
0008  *   SPDX-License-Identifier: GPL-3.0-or-later
0009  */
0010 import QtQuick 2.12
0011 import GCompris 1.0
0012 
0013 import "../../../core"
0014 
0015 Rectangle {
0016     id: tutorialRectangle
0017     anchors.fill: parent
0018     color: "#80FFFFFF"
0019 
0020     GCText {
0021         id: remainder
0022         text: qsTr("The remainder is the amount \"left over\" after dividing a number with another number.\n If 6 is divided by 2 the result is 3 and the remainder is 0.\n If 7 is divided by 2 the result is 3 and the remainder is 1.")
0023         fontSizeMode: Text.Fit
0024         fontSize: mediumSize
0025         anchors.left: tutorialRectangle.left
0026         anchors.leftMargin: parent.height * 0.01
0027         color: "black"
0028         horizontalAlignment: Text.AlignLeft
0029         width: parent.width
0030         height: parent.height
0031         wrapMode: Text.WordWrap
0032         z: 2
0033     }
0034 }