Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
projetcppqt
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Durand Ulysse
projetcppqt
Commits
c938c159
Commit
c938c159
authored
1 month ago
by
Yanis Dziki
Browse files
Options
Downloads
Patches
Plain Diff
Comme on fait du design
parent
ac77e5a2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
motus/GameWindow.qml
+20
-9
20 additions, 9 deletions
motus/GameWindow.qml
with
20 additions
and
9 deletions
motus/GameWindow.qml
+
20
−
9
View file @
c938c159
...
...
@@ -10,30 +10,41 @@ Item {
color
:
"
#ffffff
"
anchors.fill
:
parent
Clavier
{
id
:
clavier
x
:
225
y
:
594
}
Grid
{
id
:
grid
columns
:
5
columns
:
8
rows
:
5
spacing
:
5
width
:
columns
*
50
+
(
columns
-
1
)
*
spacing
height
:
rows
*
50
+
(
rows
-
1
)
*
spacing
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.bottom
:
clavier
.
top
anchors.bottomMargin
:
100
// un petit espace entre la grille et le clavier
Repeater
{
model
:
grid
.
columns
*
grid
.
rows
Rectangle
{
id
:
cell
width
:
50
height
:
50
color
:
"
lightgray
"
border.color
:
"
black
"
objectName
:
"
cell_
"
+
index
%
grid
.
columns
+
"
_
"
+
Math
.
floor
(
index
/
grid
.
columns
)
Text
{
anchors.centerIn
:
parent
text
:
"
_
"
// ou lettre dynamique
font.pixelSize
:
24
}
}
}
Clavier
{
id
:
clavier
x
:
225
y
:
594
}
}
}
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