Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Momomotus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pouchet Pierre
Momomotus
Commits
8e843122
Commit
8e843122
authored
3 months ago
by
Pouchet Pierre
Browse files
Options
Downloads
Patches
Plain Diff
Design + traitement dictionnaire français
parent
d06b6431
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Motus/Choosebutton.qml
+1
-0
1 addition, 0 deletions
Motus/Choosebutton.qml
Motus/LangageButton.qml
+10
-1
10 additions, 1 deletion
Motus/LangageButton.qml
Motus/Main.qml
+82
-48
82 additions, 48 deletions
Motus/Main.qml
Motus/NumberLetterButton.qml
+2
-2
2 additions, 2 deletions
Motus/NumberLetterButton.qml
with
95 additions
and
51 deletions
Motus/Choosebutton.qml
+
1
−
0
View file @
8e843122
...
@@ -5,6 +5,7 @@ Item {
...
@@ -5,6 +5,7 @@ Item {
property
alias
buttonText
:
button
.
text
property
alias
buttonText
:
button
.
text
width
:
300
width
:
300
height
:
200
height
:
200
Rectangle
{
Rectangle
{
id
:
rectangle
id
:
rectangle
x
:
0
x
:
0
...
...
This diff is collapsed.
Click to expand it.
Motus/LangageButton.qml
+
10
−
1
View file @
8e843122
...
@@ -4,13 +4,20 @@ Item {
...
@@ -4,13 +4,20 @@ Item {
width
:
200
width
:
200
height
:
100
height
:
100
property
alias
_textText
:
_text
.
text
property
alias
_textText
:
_text
.
text
Rectangle
{
Rectangle
{
id
:
rectangle
id
:
rectangle
x
:
0
x
:
0
y
:
0
y
:
0
width
:
200
width
:
200
height
:
100
height
:
100
color
:
"
#b43737
"
color
:
"
#7a7a7a
"
radius
:
10
border.color
:
"
#ffffff
"
border.width
:
5
Text
{
Text
{
id
:
_text
id
:
_text
...
@@ -18,10 +25,12 @@ Item {
...
@@ -18,10 +25,12 @@ Item {
y
:
0
y
:
0
width
:
200
width
:
200
height
:
100
height
:
100
color
:
"
#ffffff
"
text
:
qsTr
(
"
Langage
"
)
text
:
qsTr
(
"
Langage
"
)
font.pixelSize
:
30
font.pixelSize
:
30
horizontalAlignment
:
Text
.
AlignHCenter
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
verticalAlignment
:
Text
.
AlignVCenter
font.family
:
"
Tahoma
"
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Motus/Main.qml
+
82
−
48
View file @
8e843122
...
@@ -55,52 +55,6 @@ Window {
...
@@ -55,52 +55,6 @@ Window {
}
}
}
}
Rectangle
{
id
:
rectangle2
x
:
1144
y
:
89
width
:
265
height
:
286
color
:
"
#ffffff
"
LangageButton
{
id
:
langageButton
x
:
33
y
:
32
_textText
:
"
Français
"
MouseArea
{
id
:
mouseArea2
x
:
0
y
:
0
width
:
200
height
:
100
onClicked
:
motusGame
.
dictionnaryChoosed
=
"
Motus
\\
mots_francais.txt
"
}
}
LangageButton
{
id
:
langageButton1
x
:
33
y
:
160
_textText
:
"
English
"
MouseArea
{
id
:
mouseArea3
x
:
0
y
:
0
width
:
200
height
:
100
onClicked
:
motusGame
.
dictionnaryChoosed
=
"
Motus
\\
words_alpha.txt
"
}
}
}
MotusTimer
{
MotusTimer
{
id
:
motusTimer
id
:
motusTimer
x
:
498
x
:
498
...
@@ -109,8 +63,8 @@ Window {
...
@@ -109,8 +63,8 @@ Window {
NumberLetterButton
{
NumberLetterButton
{
id
:
numberLetterButton
id
:
numberLetterButton
x
:
116
3
x
:
116
5
y
:
421
y
:
299
}
}
...
@@ -435,6 +389,86 @@ Window {
...
@@ -435,6 +389,86 @@ Window {
}
}
}
}
}
}
Rectangle
{
id
:
big_rectangle_langue
x
:
-
360
y
:
-
107
width
:
270
height
:
340
color
:
"
#7a7a7a
"
radius
:
10
border.color
:
"
#ffffff
"
border.width
:
5
Rectangle
{
id
:
rectangle_langue
x
:
100
y
:
60
width
:
270
height
:
280
color
:
"
#323232
"
radius
:
10
border.color
:
"
#ffffff
"
border.width
:
5
anchors.horizontalCenterOffset
:
0
anchors.horizontalCenter
:
parent
.
horizontalCenter
LangageButton
{
id
:
langageButton
x
:
33
y
:
32
_textText
:
"
Français
"
MouseArea
{
id
:
mouseArea2
x
:
0
y
:
0
width
:
200
height
:
100
cursorShape
:
Qt
.
PointingHandCursor
onClicked
:
motusGame
.
dictionnaryChoosed
=
"
Motus
\\
mots_francais.txt
"
}
}
LangageButton
{
id
:
langageButton1
x
:
33
y
:
160
_textText
:
"
English
"
MouseArea
{
id
:
mouseArea3
anchors.fill
:
parent
cursorShape
:
Qt
.
PointingHandCursor
onClicked
:
motusGame
.
dictionnaryChoosed
=
"
Motus
\\
words_alpha.txt
"
}
}
}
Text
{
id
:
_text
x
:
0
y
:
0
width
:
270
height
:
63
color
:
"
#ffffff
"
text
:
qsTr
(
"
Language/Langage
"
)
font.pixelSize
:
30
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
font.family
:
"
Tahoma
"
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
Motus/NumberLetterButton.qml
+
2
−
2
View file @
8e843122
...
@@ -21,8 +21,8 @@ Item {
...
@@ -21,8 +21,8 @@ Item {
width
:
100
width
:
100
height
:
50
height
:
50
flat
:
true
flat
:
true
editable
:
tru
e
editable
:
fals
e
model
:
[
"
a
léatoire
"
,
"
5
"
,
"
6
"
,
"
7
"
,
"
8
"
,
"
9
"
,
"
10
"
]
model
:
[
"
A
léatoire
/ Random
"
,
"
5
"
,
"
6
"
,
"
7
"
,
"
8
"
,
"
9
"
,
"
10
"
]
displayText
:
"
Number of letters
"
displayText
:
"
Number of letters
"
onCurrentTextChanged
:
{
onCurrentTextChanged
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment