Commit e19cf0c5 authored by Maxime Goret's avatar Maxime Goret
Browse files

Modif autocell

parent ec277ecf
Pipeline #79756 passed with stage
in 15 seconds
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.15.0, 2021-06-12T11:33:14. -->
<!-- Written by QtCreator 4.15.0, 2021-06-12T12:06:56. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
......@@ -518,7 +518,6 @@
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">/Users/maximegoret/Documents/LO21/build-cellulut-Desktop_Qt_5_15_0_clang_64bit-Debug/cellulut.app/Contents/MacOS</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap>
......
......@@ -138,6 +138,8 @@ class AutoCell : public QWidget
/// Aller en avant dans la simulation
void next();
void setMatriceTorique(int val);
/// Revenir au réseau initial
void reinitialiserSimulation();
};
#endif // AUTOCELL_H
......@@ -218,7 +218,7 @@ this->setWindowTitle("Automate cellulaire");
grid = new QTableWidget(0,0,win_grid);
};
void AutoCell::afficherGrille(Reseau* grille)
void AutoCell::afficherGrille(const Reseau* grille)
{
Grille.reset(new Reseau(*grille));
win_grid = new QWidget;
......
......@@ -380,7 +380,6 @@ void NouveauModele::paramRegle(const QString& choix_regle) {
layoutv = new QVBoxLayout;
// layouth = new QHBoxLayout;
layouth1 = new QHBoxLayout;
layouth2 = new QHBoxLayout;
layouth3 = new QHBoxLayout;
......@@ -396,7 +395,6 @@ void NouveauModele::paramRegle(const QString& choix_regle) {
layoutv->addLayout(layouth1);
layoutv->addLayout(layouth2);
layoutv->addLayout(layouth3);
//layoutv->addLayout(layouth);
layoutv->addLayout(layouth4);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment