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

Fin interface

parent 9927cf94
Pipeline #79716 passed with stage
in 15 seconds
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.15.0, 2021-06-12T08:52:08. -->
<!-- Written by QtCreator 4.15.0, 2021-06-12T09:50:20. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
......
......@@ -16,7 +16,7 @@ NouveauModele::NouveauModele(QWidget* parent) : QWidget() {
Automate::getInstance().getEnsemble().ajouterEtat(7, "État 8", 200, 200, 200);
// fonction.reset(new Fonction(Automate::getInstance().getEnsemble().getEtat(0)));
this->setWindowTitle("Paramétrage d'un nouveau modèle");
this->setMinimumSize(850, 550);
this->setMinimumSize(850, 650);
general = new QGridLayout;
this->setLayout(general);
......@@ -217,7 +217,7 @@ void NouveauModele::modifGrille(const QModelIndex& index){
void NouveauModele::changerVoisinage(const QString& choix_regle){
//delete liste_voisinage;
form_choix->removeRow(6);
form_choix->removeRow(7);
liste_voisinage = new QComboBox();
layoutvalid = new QHBoxLayout;
......@@ -241,7 +241,7 @@ void NouveauModele::changerVoisinage(const QString& choix_regle){
liste_voisinage->addItem("Voisinage arbitraire");
liste_voisinage->setCurrentIndex(-1);
}
form_choix->insertRow(6, "Voisinage :", liste_voisinage);
form_choix->insertRow(8, "Voisinage :", liste_voisinage);
layoutvalid->addWidget(bouton_valide);
layoutvalid->addWidget(boutonEtat);
form_choix->addRow(layoutvalid);
......
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