Skip to content
Snippets Groups Projects
Commit 98ce9a43 authored by Pouchet Pierre's avatar Pouchet Pierre
Browse files

interaction souris

j'ai pas réussi à faire lire la liste de mots
parent bfa12a66
Branches
No related tags found
No related merge requests found
...@@ -3,8 +3,10 @@ import QtQuick ...@@ -3,8 +3,10 @@ import QtQuick
Item { Item {
width: 90 width: 90
height: 90 height: 90
property alias _textColor: _text.color
property alias _textText: _text.text property alias _textText: _text.text
Text { Text {
id: _text id: _text
x: 0 x: 0
......
...@@ -34,6 +34,20 @@ Window { ...@@ -34,6 +34,20 @@ Window {
x: 76 x: 76
y: 47 y: 47
_textText: "Générer un mot" _textText: "Générer un mot"
MouseArea {
id: mouseArea
x: 0
y: 0
width: 400
height: 200
onClicked: case3._textColor="#51c3e1"
Case {
id: case3
_textText: "test"
}
}
} }
Keys.onPressed: (event) => { Keys.onPressed: (event) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment