-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdialogsauvegardesimulation.h
More file actions
73 lines (63 loc) · 1.5 KB
/
Copy pathdialogsauvegardesimulation.h
File metadata and controls
73 lines (63 loc) · 1.5 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#ifndef DIALOGSAUVEGARDESIMULATION_H
#define DIALOGSAUVEGARDESIMULATION_H
#include <QDialog>
#include <QMessageBox>
#include "general.h"
#include "filetext.h"
/*
* [Dialog Sauvegarde Particule]
*
* Fenêtre de sauvegarde d'une simulation
*
* Structure d'un fichier Simulation
*
* String : Nom
* String : Description
* "ENDOFTHEDESCRIPTION"
* DonneeParticule[] (Fichiers externes : String)
* "ENDPARTICLES"
* DonneeReaction[] (Intégrés : DonneeReaction)
* "ENDREACTIONS"
*
* Structure d'une DonneeReaction
*
* Int[] : Proportion_Reactif
* "ENDLIST"
* Int[] : ID_Reactif
* "ENDLIST"
* Int[] : Proportion_Produit
* "ENDLIST"
* Int[] : ID_Produit
* "ENDLIST"
* Double[] : Efficacite_Catalyseur
* "ENDLIST"
* Int[] : ID_Catalyseur
* "ENDLIST"
* Double : A_Cinetique
* Double : Ea_Cinetique
* Double : Delta_Temperature
* Double : PH_Min
* Double : PH_Max
* "ENDREACTION"
*
*/
namespace Ui {
class DialogSauvegardeSimulation;
}
class DialogSauvegardeSimulation : public QDialog
{
Q_OBJECT
public:
explicit DialogSauvegardeSimulation(General* generalU, QWidget *parent = nullptr);
~DialogSauvegardeSimulation();
public slots:
void on_Sauvegarder_clicked();
void on_Annuler_clicked();
void on_NomFichier_textChanged();
signals:
void dialogQuit(int);
private:
Ui::DialogSauvegardeSimulation *ui;
General* general;
};
#endif // DIALOGSAUVEGARDESIMULATION_H