Skip to content
GitLab
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
6a1c27df
Commit
6a1c27df
authored
Jun 09, 2021
by
Leon Do Castelo
Browse files
Update autocell.cpp
parent
0d8ac8be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/autocell.cpp
View file @
6a1c27df
...
...
@@ -65,10 +65,11 @@ AutoCell::AutoCell(QWidget* parent):QWidget(parent)
// récupération des automates en mémoire
/*vector<QString> noms_modeles = database.getAutomates();
for(auto : nom, noms_modeles){
liste->addItem(nom);
}*/
std
::
vector
<
QString
>
noms_modeles
=
Database
::
getInstance
().
getAutomates
();
for
(
size_t
i
=
0
;
i
<
noms_modeles
.
size
()
;
i
++
){
std
::
cout
<<
"modele :"
<<
noms_modeles
[
i
].
toStdString
()
<<
std
::
endl
;
liste
->
addItem
(
noms_modeles
[
i
]);
}
liste
->
addItem
(
"modèle 1"
);
liste
->
addItem
(
"modèle 2"
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment