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

0001 /* GCompris - OperatorRow.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 
0013 import QtQuick 2.12
0014 import "../../core"
0015 import "guesscount.js" as Activity
0016 
0017 Row {
0018     id: operatorRow
0019     spacing: 20
0020     property string mode
0021     property alias repeater: repeater
0022     Rectangle {
0023         id: operator
0024         width: parent.width*0.328
0025         height: parent.height
0026         radius: 20.0;
0027         color: "#E16F6F"  //red
0028         Rectangle {
0029             id: insideFill
0030             width: parent.width - anchors.margins
0031             height: parent.height - anchors.margins
0032             anchors.verticalCenter: parent.verticalCenter
0033             anchors.horizontalCenter: parent.horizontalCenter
0034             anchors.margins: parent.height/4
0035             radius: 10
0036             color: "#E8E8E8"
0037         }
0038         GCText {
0039             anchors.horizontalCenter: parent.horizontalCenter
0040             anchors.verticalCenter: parent.verticalCenter
0041             fontSize: mediumSize
0042             text: qsTr("Operators")
0043         }
0044     }
0045     Repeater {
0046         id: repeater
0047         delegate: DragTile {
0048             id: root
0049             type: "operators"
0050             width: operatorRow.width * 0.1
0051             height: operatorRow.height
0052         }
0053     }
0054 }