Warning, /education/gcompris/src/activities/guesscount/OperandRow.qml is written in an unsupported language. File is not indexed.

0001 /* GCompris - OperandRow.qml
0002  *
0003  * SPDX-FileCopyrightText: 2016 RAHUL YADAV <rahulyadav170923@gmail.com>
0004  *
0005  * Authors:
0006  *   Pascal Georges <pascal.georges1@free.fr> (GTK+ version)
0007  *   RAHUL YADAV <rahulyadav170923@gmail.com> (Qt Quick port)
0008  *
0009  *   SPDX-License-Identifier: GPL-3.0-or-later
0010  */
0011 
0012 import QtQuick 2.12
0013 import "../../core"
0014 
0015 Row {
0016     id: operandRow
0017     property alias repeater: repeater
0018     property int rowSum
0019     spacing: 20
0020     Rectangle {
0021         id: operands
0022         width: parent.width*0.328
0023         height: parent.height
0024         radius: 10
0025         color: "#75D21B"  //green
0026         Rectangle {
0027             id: insideFill
0028             width: parent.width - anchors.margins
0029             height: parent.height - anchors.margins
0030             anchors.verticalCenter: parent.verticalCenter
0031             anchors.horizontalCenter: parent.horizontalCenter
0032             anchors.margins: parent.height/4
0033             radius: 10
0034             color: "#E8E8E8" //paper white
0035         }
0036         GCText {
0037             anchors.horizontalCenter: parent.horizontalCenter
0038             anchors.verticalCenter: parent.verticalCenter
0039             fontSize: mediumSize
0040             text: qsTr("Numbers")
0041         }
0042     }
0043     Repeater {
0044         id: repeater
0045         delegate: DragTile {
0046             id: root
0047             type: "operands"
0048             width: operandRow.width*0.1
0049             height: operandRow.height
0050         }
0051     }
0052 }