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
LO21_Pin_Noir_Boucher_Bouri_Detree
CellulutLO21
Commits
5406caf7
Commit
5406caf7
authored
Jun 05, 2021
by
Eugene Pin
Browse files
Hello ^^
Merge branch 'master' of
https://gitlab.utc.fr/lo21_pin_noir_boucher_bouri_detree/cellulutlo21
parents
4c1b0748
ef6cd4d8
Pipeline
#79247
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
include/interface.hpp
View file @
5406caf7
...
...
@@ -79,6 +79,8 @@ private slots:
void
on_playPauseButton_clicked
();
void
on_resetButton_clicked
();
private:
//! \brief Initialiser la liste des transitions et voisinages disponibles
void
init_transition_neighborhood_list
();
...
...
src/interface.cpp
View file @
5406caf7
...
...
@@ -60,7 +60,6 @@ MainWindow::MainWindow(QWidget *parent)
connect
(
timer
,
&
QTimer
::
timeout
,
this
,
[
this
](){
on_nextButton_clicked
();
std
::
cout
<<
"a
\n
"
;
timer
->
start
();
});
}
...
...
@@ -647,3 +646,11 @@ void MainWindow::on_playPauseButton_clicked()
}
}
}
void
MainWindow
::
on_resetButton_clicked
()
{
if
(
timer
->
isActive
())
{
timer
->
stop
();
}
simulation
.
reset
();
ui
->
grid_view
->
copy_grid
(
simulation
.
getGrid
());
}
Write
Preview
Markdown
is supported
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