Commit bdea94d3 authored by Boris Cazic's avatar Boris Cazic
Browse files

Ajout de la fenetre de paramétrage d'un modèle

parent 4284f122
#ifndef PARAMETRAGEMODELE_H
#define PARAMETRAGEMODELE_H
#include "reseau_cellule_etats.h"
#include <QObject>
#include <QApplication>
#include <QPushButton>
#include <QWidget>
#include <QLineEdit>
#include <QLabel>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QComboBox>
#include <QTableWidget>
#include <QTableWidgetItem>
#include <QHeaderView>
#include <QLayoutItem>
#include <QFont>
#include <QPushButton>
#include <QCheckBox>
#include <QFormLayout>
using namespace std;
class NouveauModele : public QWidget {
Q_OBJECT
QGridLayout* general;
//définition de la frame
//définition de la frame contenant la grille de sélection du voisinage
QLabel* label_init;
QWidget* fenetre_init;
QWidget* fenetre_grid;
QTableWidget* grid;
public:
NouveauModele(QWidget* parent = nullptr);
public slots:
void affGrille(Reseau* Grille);
};
#endif // PARAMETRAGEMODELE_H
#include"parametragemodele.h"
NouveauModele::NouveauModele(QWidget* parent) : QWidget() {
this->setWindowTitle("Paramétrage d'un nouveau modèle");
this->setMinimumSize(850, 550);
fenetre_init = new QWidget;
fenetre_init->setFixedWidth(400);
label_init = new QLabel("Configuration du modèle :");
}
void NouveauModele::affGrille(Reseau* Grille) {
}
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