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
LO21_Pin_Noir_Boucher_Bouri_Detree
CellulutLO21
Commits
aa48c4ee
Commit
aa48c4ee
authored
Jun 02, 2021
by
Yann Boucher
Browse files
Connexion du bouton sauvegarde de structure oubliée, c'est résolu
parent
f4f159f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/interface.hpp
View file @
aa48c4ee
...
...
@@ -51,7 +51,7 @@ private slots:
void
on_heightSpinBox_valueChanged
(
int
arg1
);
//! \brief Affiche l'interface pour sauvegarder la sélection actuelle comme une structure
void
afficher_interface_sauvegarde_structure
(
bool
);
void
afficher_interface_sauvegarde_structure
();
void
on_nbrStateComboBox_currentTextChanged
(
const
QString
&
arg1
);
...
...
@@ -70,6 +70,8 @@ private slots:
void
on_customize_button_clicked
();
void
on_savePatternButton_clicked
();
private:
//! \brief Initialiser la liste des transitions et voisinages disponibles
void
init_transition_neighborhood_list
();
...
...
src/interface.cpp
View file @
aa48c4ee
...
...
@@ -108,7 +108,7 @@ void MainWindow::on_heightSpinBox_valueChanged(int)
ui
->
validateGridDim
->
setEnabled
(
true
);
}
void
MainWindow
::
afficher_interface_sauvegarde_structure
(
bool
)
void
MainWindow
::
afficher_interface_sauvegarde_structure
()
{
SavingDialog
dialog
(
this
);
if
(
!
dialog
.
exec
())
...
...
@@ -542,3 +542,8 @@ void MainWindow::on_customize_button_clicked()
}
}
void
MainWindow
::
on_savePatternButton_clicked
()
{
afficher_interface_sauvegarde_structure
();
}
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