From 1c7034b22a70b1b90cb0ba58c5018d61d6056caf Mon Sep 17 00:00:00 2001 From: ppouchet <pierre.pouchet@etu.ec-lyon.fr> Date: Mon, 31 Mar 2025 08:31:30 +0200 Subject: [PATCH] =?UTF-8?q?push=20interm=C3=A9diaire=20=C3=A9galement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Motus/Main.qml | 2 ++ Motus/motusgame.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Motus/Main.qml b/Motus/Main.qml index 4e36fee..e966dfd 100644 --- a/Motus/Main.qml +++ b/Motus/Main.qml @@ -150,6 +150,8 @@ Window { // Exemple : affichage d'un mot généré dans un Case enfant Case { id: case3 + x: 373 + y: 103 _textText: "mot test" } MouseArea { diff --git a/Motus/motusgame.h b/Motus/motusgame.h index 96d2399..ee58aed 100644 --- a/Motus/motusgame.h +++ b/Motus/motusgame.h @@ -38,7 +38,9 @@ public: void setLetterNumber(int value); bool getRandomizeLetterNumber() const; void setRandomizeLetterNumber(bool value); - bool existWord(const QString &word); + + + Q_INVOKABLE bool existWord(const QString &word); -- GitLab