Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Romain De Laage De Bellefaye
LO21-projet
Commits
bd2c1971
Verified
Commit
bd2c1971
authored
Jun 12, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
Merge branch 'master' of gitlab.utc.fr:rdelaage/lo21-projet
parents
a4657083
f38b412f
Pipeline
#79741
passed with stage
in 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/autocell.cpp
View file @
bd2c1971
...
@@ -306,9 +306,6 @@ void AutoCell::initialiserGrille(){
...
@@ -306,9 +306,6 @@ void AutoCell::initialiserGrille(){
edit_hauteur
->
setText
(
str_hauteur
.
setNum
(
grille
.
getHauteur
(),
10
));
edit_hauteur
->
setText
(
str_hauteur
.
setNum
(
grille
.
getHauteur
(),
10
));
}
}
//réinitialiser l'automate
Automate
::
getInstance
().
reset
();
this
->
afficherGrille
(
&
grille
);
this
->
afficherGrille
(
&
grille
);
Automate
::
getInstance
().
setReseauInit
(
grille
);
Automate
::
getInstance
().
setReseauInit
(
grille
);
Automate
::
getInstance
().
initialiserBuffer
();
Automate
::
getInstance
().
initialiserBuffer
();
...
@@ -318,6 +315,8 @@ void AutoCell::RAZ(){
...
@@ -318,6 +315,8 @@ void AutoCell::RAZ(){
grid
=
new
QTableWidget
(
0
,
0
,
win_grid
);
grid
=
new
QTableWidget
(
0
,
0
,
win_grid
);
edit_largeur
->
setText
(
""
);
edit_largeur
->
setText
(
""
);
edit_hauteur
->
setText
(
""
);
edit_hauteur
->
setText
(
""
);
edit_nb_step
->
setText
(
"0"
);
edit_periode
->
setText
(
"0"
);
spin_time_step
->
setValue
(
1000
);
spin_time_step
->
setValue
(
1000
);
check_aleatoire
->
setCheckState
(
Qt
::
Unchecked
);
check_aleatoire
->
setCheckState
(
Qt
::
Unchecked
);
check_load_grid
->
setCheckState
(
Qt
::
Unchecked
);
check_load_grid
->
setCheckState
(
Qt
::
Unchecked
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment