Skip to content
Snippets Groups Projects
Commit 4b62265c authored by Jolibois Simon's avatar Jolibois Simon
Browse files

Delete Case.qml

parent 4c3cf7c5
No related branches found
No related tags found
No related merge requests found
import QtQuick 2.0
Item {
id: maCase
width: 50
height: 50
property alias backgroundCaseBordercolor: backgroundCase.border.color
property alias backgroundCaseColor: backgroundCase.color
property alias chiffreColor: chiffre.color
property alias chiffreText: chiffre.text
Rectangle {
id: backgroundCase
color: "#ffffff"
radius: 0
border.width: 2
anchors.fill: parent
focus: true
MouseArea {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
onEntered: {
parent.color = "#998c8c"
}
onExited: {
parent.color = "#ffffff"
}
onClicked: {
console.log(maCase.x, maCase.y)
}
}
Text {
id: chiffre
text: qsTr("9")
anchors.fill: parent
font.pixelSize: 25
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
font.bold: true
font.family: "Verdana"
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment