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
239e7975
Commit
239e7975
authored
Jun 06, 2021
by
Boris Cazic
Browse files
Update autocell.cpp
parent
ab7e325c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/autocell.cpp
View file @
239e7975
#include
"autocell.h"
#include
"reseau_cellule_etats.h"
#include
"parametragemodele.h"
#include
<QApplication>
#include
<QPushButton>
...
...
@@ -55,6 +56,8 @@ AutoCell::AutoCell(QWidget* parent):QWidget(parent)
button_add_model
->
setStyleSheet
(
"background-color : rgb(251, 252, 252 )"
);
button_add_model
->
setFixedWidth
(
140
);
connect
(
button_add_model
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
defNouveauModele
()));
liste
=
new
QComboBox
(
win_model_choice
);
liste
->
addItem
(
"modèle 1"
);
liste
->
addItem
(
"modèle 2"
);
...
...
@@ -257,6 +260,11 @@ void AutoCell::RAZ(){
edit_time_step
->
setText
(
"1"
);
;}
void
AutoCell
::
defNouveauModele
()
{
NouveauModele
*
nouveaumodele
=
new
NouveauModele
;
nouveaumodele
->
show
();
}
void
AutoCell
::
modifierCellule
(
const
QModelIndex
&
index
)
{
unsigned
int
i
=
index
.
row
();
unsigned
int
j
=
index
.
column
();
...
...
Boris Cazic
@cazicbor
mentioned in commit
341421cc
·
Jun 06, 2021
mentioned in commit
341421cc
mentioned in commit 341421cc01eb4c846f2c71f512f523b0a89ac17c
Toggle commit list
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