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
da969b70
Commit
da969b70
authored
3 months ago
by
Massies Alexandre
Browse files
Options
Downloads
Patches
Plain Diff
cases dessinées
parent
1645de9d
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Motus/BackKey.qml
+9
-6
9 additions, 6 deletions
Motus/BackKey.qml
Motus/Case.qml
+30
-13
30 additions, 13 deletions
Motus/Case.qml
Motus/Main.qml
+584
-435
584 additions, 435 deletions
Motus/Main.qml
with
623 additions
and
454 deletions
Motus/BackKey.qml
+
9
−
6
View file @
da969b70
...
@@ -2,22 +2,25 @@ import QtQuick
...
@@ -2,22 +2,25 @@ import QtQuick
Item
{
Item
{
id
:
_item
id
:
_item
width
:
10
0
width
:
9
0
height
:
60
height
:
60
property
alias
imageSource
:
image
.
source
property
alias
imageSource
:
image
.
source
Rectangle
{
Rectangle
{
id
:
rectangle
id
:
rectangle
color
:
"
#7a7a7a
"
color
:
"
#7a7a7a
"
radius
:
1
5
radius
:
1
0
anchors.fill
:
parent
anchors.fill
:
parent
Image
{
Image
{
id
:
image
id
:
image
x
:
0
width
:
75
y
:
0
height
:
45
width
:
100
anchors.verticalCenter
:
parent
.
verticalCenter
height
:
60
source
:
"
back_key.png
"
source
:
"
back_key.png
"
anchors.horizontalCenter
:
parent
.
horizontalCenter
sourceSize.height
:
512
sourceSize.width
:
512
clip
:
false
fillMode
:
Image
.
PreserveAspectFit
fillMode
:
Image
.
PreserveAspectFit
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Motus/Case.qml
+
30
−
13
View file @
da969b70
import
QtQuick
import
QtQuick
Item
{
Item
{
width
:
90
id
:
_item
height
:
90
width
:
70
property
alias
_textColor
:
_text
.
color
height
:
70
focus
:
false
property
alias
rectangleBorderwidth
:
rectangle
.
border
.
width
property
alias
_textText
:
_text
.
text
property
alias
_textText
:
_text
.
text
Rectangle
{
id
:
rectangle
width
:
70
height
:
70
color
:
"
#323232
"
radius
:
5
border.color
:
"
#ffffff
"
border.width
:
3
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
Text
{
Text
{
id
:
_text
id
:
_text
x
:
0
width
:
7
0
y
:
0
height
:
7
0
width
:
90
color
:
"
#ffffff
"
height
:
90
text
:
qsTr
(
""
)
text
:
qsTr
(
"
Text
"
)
anchors.verticalCenter
:
parent
.
verticalCenter
font.pixelSize
:
24
font.pixelSize
:
60
horizontalAlignment
:
Text
.
AlignHCenter
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
verticalAlignment
:
Text
.
AlignVCenter
font.family
:
"
Tahoma
"
font.styleName
:
"
Bold
"
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
}
}
}
}
This diff is collapsed.
Click to expand it.
Motus/Main.qml
+
584
−
435
View file @
da969b70
...
@@ -16,6 +16,154 @@ Window {
...
@@ -16,6 +16,154 @@ Window {
color
:
"
#323232
"
color
:
"
#323232
"
focus
:
true
focus
:
true
Grid
{
id
:
grid
y
:
206
width
:
370
height
:
445
anchors.horizontalCenter
:
parent
.
horizontalCenter
spacing
:
5
rows
:
6
columns
:
5
Case
{
id
:
_case_1_1
focus
:
true
}
Case
{
id
:
_case_1_2
}
Case
{
id
:
_case_1_3
}
Case
{
id
:
_case_1_4
}
Case
{
id
:
_case_1_5
}
Case
{
id
:
_case_2_1
}
Case
{
id
:
_case_2_2
}
Case
{
id
:
_case_2_3
}
Case
{
id
:
_case_2_4
}
Case
{
id
:
_case_2_5
}
Case
{
id
:
_case_3_1
}
Case
{
id
:
_case_3_2
}
Case
{
id
:
_case_3_3
}
Case
{
id
:
_case_3_4
}
Case
{
id
:
_case_3_5
}
Case
{
id
:
_case_4_1
}
Case
{
id
:
_case_4_2
}
Case
{
id
:
_case_4_3
}
Case
{
id
:
_case_4_4
}
Case
{
id
:
_case_4_5
}
Case
{
id
:
_case_5_1
}
Case
{
id
:
_case_5_2
}
Case
{
id
:
_case_5_3
}
Case
{
id
:
_case_5_4
}
Case
{
id
:
_case_5_5
}
Case
{
id
:
_case_6_1
}
Case
{
id
:
_case_6_2
}
Case
{
id
:
_case_6_3
}
Case
{
id
:
_case_6_4
}
Case
{
id
:
_case_6_5
}
}
Text
{
id
:
_text2
y
:
20
width
:
200
height
:
80
color
:
"
#ffffff
"
text
:
qsTr
(
"
MOTUS
"
)
font.pixelSize
:
50
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
anchors.horizontalCenterOffset
:
0
font.family
:
"
Tahoma
"
font.styleName
:
"
Bold
"
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
}
}
...
@@ -58,8 +206,8 @@ Window {
...
@@ -58,8 +206,8 @@ Window {
MotusTimer
{
MotusTimer
{
id
:
motusTimer
id
:
motusTimer
x
:
693
x
:
1539
y
:
59
y
:
926
}
}
Rectangle
{
Rectangle
{
...
@@ -104,17 +252,96 @@ Window {
...
@@ -104,17 +252,96 @@ Window {
}
}
Rectangle
{
id
:
big_rectangle_langue
x
:
64
y
:
362
width
:
270
height
:
340
color
:
"
#323232
"
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
:
31
_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
:
152
_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
"
}
}
Rectangle
{
Rectangle
{
id
:
rectangle1
id
:
rectangle1
x
:
342
x
:
342
y
:
477
y
:
762
width
:
640
width
:
640
height
:
280
height
:
280
color
:
"
#323232
"
color
:
"
#323232
"
radius
:
10
radius
:
10
border.color
:
"
#ffffff
"
border.color
:
"
#ffffff
"
border.width
:
5
border.width
:
5
anchors.horizontalCenterOffset
:
-
27
anchors.horizontalCenterOffset
:
0
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
Column
{
Column
{
...
@@ -426,85 +653,7 @@ Window {
...
@@ -426,85 +653,7 @@ Window {
}
}
}
}
Rectangle
{
id
:
big_rectangle_langue
x
:
-
360
y
:
-
107
width
:
270
height
:
340
color
:
"
#323232
"
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
:
31
_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
:
152
_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.
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