Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Projet_sudoku
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
Jolibois Simon
Projet_sudoku
Commits
4c3cf7c5
Commit
4c3cf7c5
authored
4 years ago
by
Jolibois Simon
Browse files
Options
Downloads
Patches
Plain Diff
Delete Carre.qml
parent
adfbd3cb
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
Carre.qml
+0
-191
0 additions, 191 deletions
Carre.qml
with
0 additions
and
191 deletions
Carre.qml
deleted
100644 → 0
+
0
−
191
View file @
adfbd3cb
import
QtQuick
2.0
Item
{
id
:
monCarre
width
:
154
height
:
154
property
alias
case9
:
case9
property
alias
case8
:
case8
property
alias
case7
:
case7
property
alias
case6
:
case6
property
alias
case5
:
case5
property
alias
case4
:
case4
property
alias
case3
:
case3
property
alias
case2
:
case2
property
alias
case1
:
case1
Rectangle
{
id
:
backgroudcarre
color
:
"
#ffffff
"
border.width
:
2
anchors.fill
:
parent
focus
:
true
Case
{
id
:
case1
anchors.left
:
parent
.
left
anchors.top
:
parent
.
top
chiffreText
:
qsTr
(
"
9
"
)
anchors.leftMargin
:
2
anchors.topMargin
:
2
MouseArea
{
id
:
mouseArea1
focus
:
true
anchors.fill
:
parent
onClicked
:
{
console
.
log
(
Math
.
floor
(
monCarre
.
x
/
50
)
+
1
,
Math
.
floor
(
monCarre
.
y
/
50
)
+
1
)
}
}
}
Case
{
id
:
case2
x
:
50
anchors.top
:
parent
.
top
chiffreText
:
qsTr
(
"
9
"
)
anchors.topMargin
:
2
anchors.horizontalCenter
:
parent
.
horizontalCenter
MouseArea
{
id
:
mouseArea2
focus
:
true
anchors.fill
:
parent
onClicked
:
{
console
.
log
(
Math
.
floor
(
monCarre
.
x
/
50
)
+
2
,
Math
.
floor
(
monCarre
.
y
/
50
)
+
1
)
}
}
}
Case
{
id
:
case3
x
:
100
y
:
0
anchors.right
:
parent
.
right
anchors.top
:
parent
.
top
chiffreText
:
qsTr
(
"
9
"
)
anchors.rightMargin
:
2
anchors.topMargin
:
2
MouseArea
{
id
:
mouseArea3
focus
:
true
anchors.fill
:
parent
onClicked
:
{
console
.
log
(
Math
.
floor
(
monCarre
.
x
/
50
)
+
3
,
Math
.
floor
(
monCarre
.
y
/
50
)
+
1
)
}
}
}
Case
{
id
:
case4
x
:
0
y
:
50
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.left
:
parent
.
left
chiffreText
:
qsTr
(
"
9
"
)
anchors.leftMargin
:
2
MouseArea
{
id
:
mouseArea4
focus
:
true
anchors.fill
:
parent
onClicked
:
{
console
.
log
(
Math
.
floor
(
monCarre
.
x
/
50
)
+
1
,
Math
.
floor
(
monCarre
.
y
/
50
)
+
2
)
}
}
}
Case
{
id
:
case5
x
:
50
y
:
50
anchors.verticalCenter
:
parent
.
verticalCenter
chiffreText
:
"
9
"
anchors.horizontalCenter
:
parent
.
horizontalCenter
MouseArea
{
id
:
mouseArea5
focus
:
true
anchors.fill
:
parent
onClicked
:
{
console
.
log
(
Math
.
floor
(
monCarre
.
x
/
50
)
+
2
,
Math
.
floor
(
monCarre
.
y
/
50
)
+
2
)
}
}
}
Case
{
id
:
case6
x
:
0
y
:
102
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.right
:
parent
.
right
chiffreText
:
qsTr
(
"
9
"
)
anchors.rightMargin
:
2
MouseArea
{
id
:
mouseArea6
focus
:
true
anchors.fill
:
parent
onClicked
:
{
console
.
log
(
Math
.
floor
(
monCarre
.
x
/
50
)
+
3
,
Math
.
floor
(
monCarre
.
y
/
50
)
+
2
)
}
}
}
Case
{
id
:
case7
y
:
106
anchors.left
:
parent
.
left
anchors.bottom
:
parent
.
bottom
anchors.leftMargin
:
2
anchors.bottomMargin
:
2
MouseArea
{
id
:
mouseArea7
focus
:
true
anchors.fill
:
parent
onClicked
:
{
console
.
log
(
Math
.
floor
(
monCarre
.
x
/
50
)
+
1
,
Math
.
floor
(
monCarre
.
y
/
50
)
+
3
)
}
}
}
Case
{
id
:
case8
x
:
68
y
:
114
anchors.bottom
:
parent
.
bottom
anchors.horizontalCenterOffset
:
0
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.bottomMargin
:
2
MouseArea
{
id
:
mouseArea8
focus
:
true
anchors.fill
:
parent
onClicked
:
{
console
.
log
(
Math
.
floor
(
monCarre
.
x
/
50
)
+
2
,
Math
.
floor
(
monCarre
.
y
/
50
)
+
3
)
}
}
}
Case
{
id
:
case9
x
:
115
y
:
122
anchors.right
:
parent
.
right
anchors.bottom
:
parent
.
bottom
anchors.bottomMargin
:
2
anchors.rightMargin
:
2
MouseArea
{
id
:
mouseArea9
focus
:
true
anchors.fill
:
parent
onClicked
:
{
console
.
log
(
Math
.
floor
(
monCarre
.
x
/
50
)
+
3
,
Math
.
floor
(
monCarre
.
y
/
50
)
+
3
)
}
}
}
}
}
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