-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfencompletion.cpp
More file actions
28 lines (24 loc) · 852 Bytes
/
fencompletion.cpp
File metadata and controls
28 lines (24 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "fencompletion.h"
#include "ui_fencompletion.h"
#include "completion.h"
#include "dossier.h"
fenCompletion::fenCompletion(QWidget *parent) : QDialog(parent), ui(new Ui::fenCompletion)
{
ui->setupUi(this);
setWindowTitle("Fenetre Completion");
Demande* dem=new Demande();
dem->setCompletion(new AlgoCompletionSimple);
dem->chercherSolution();
//affichage de la mapSolution
Dossier& doss=Dossier::getInstance();
QMap<unsigned int,QList<Inscription> > mapSol=doss.getMapSol();
QList<Inscription> sol= mapSol.last();
for(int i=0;i<sol.length();i++){
//QMessageBox::information(this,"inscrip","inscription"+i+" : "+sol.at(i).getUV()+" , "+sol.at(i).getSemestre());
//std::cout<<sol.at(i).getUV()<<" : "<<sol.at(i).getSemestre();
}
}
fenCompletion::~fenCompletion()
{
delete ui;
}