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
c698acbe
Commit
c698acbe
authored
Jun 12, 2021
by
Victor Blanchet
Browse files
print notice
parent
660006e5
Pipeline
#79762
passed with stage
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/autocell.cpp
View file @
c698acbe
...
...
@@ -217,6 +217,8 @@ this->setWindowTitle("Automate cellulaire");
win_grid
=
new
QWidget
;
grid
=
new
QTableWidget
(
0
,
0
,
win_grid
);
afficherNotice
();
};
void
AutoCell
::
afficherGrille
(
const
Reseau
*
grille
)
...
...
@@ -450,3 +452,11 @@ void AutoCell::reinitialiserSimulation()
afficherGrille
(
&
Automate
::
getInstance
().
getReseauInit
());
}
void
AutoCell
::
afficherNotice
(){
fenetre_notice
.
reset
(
new
QWidget
);
fenetre_notice
.
get
()
->
setMinimumWidth
(
1000
);
fenetre_notice
->
setWindowTitle
(
"Notice"
);
QString
str_notice
(
"test"
);
lab_notice
.
reset
(
new
QLabel
(
str_notice
,
fenetre_notice
.
get
()));
fenetre_notice
.
get
()
->
show
();
};
Write
Preview
Supports
Markdown
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