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
e19cf0c5
Commit
e19cf0c5
authored
Jun 12, 2021
by
Maxime Goret
Browse files
Modif autocell
parent
ec277ecf
Pipeline
#79756
passed with stage
in 15 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cellulut.pro.user
View file @
e19cf0c5
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.15.0, 2021-06-12T1
1:33:14
. -->
<!-- Written by QtCreator 4.15.0, 2021-06-12T1
2: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>
...
...
includes/autocell.h
View file @
e19cf0c5
...
...
@@ -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
src/autocell.cpp
View file @
e19cf0c5
...
...
@@ -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
;
...
...
src/parametragemodele.cpp
View file @
e19cf0c5
...
...
@@ -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
);
...
...
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