1 | /* |
---|
2 | Nom du Fichier: SpaceintrajWindow.hpp |
---|
3 | Nom de classe: SpaceintrajWindow |
---|
4 | Role: |
---|
5 | Functions: |
---|
6 | Attributs: |
---|
7 | */ |
---|
8 | |
---|
9 | #ifndef SPACEINTRAJWINDOW_HPP |
---|
10 | #define SPACEINTRAJWINDOW_HPP |
---|
11 | #include <QStandardItemModel> |
---|
12 | #include <QModelIndex> |
---|
13 | #include <QMessageBox> |
---|
14 | #include "../../ui_spaceintraj.h" |
---|
15 | #include "../../../YAOObjects/Table.hpp" |
---|
16 | #include "../../../YAOObjects/Operator.hpp" |
---|
17 | #include "../../../YAOObjects/Trajectory.hpp" |
---|
18 | #include "../../../YAOObjects/Order.hpp" |
---|
19 | |
---|
20 | |
---|
21 | |
---|
22 | class SpaceintrajWindow: public QWidget, public Ui::SpaceintrajWindow { |
---|
23 | |
---|
24 | Q_OBJECT |
---|
25 | |
---|
26 | public : |
---|
27 | SpaceintrajWindow(yao::Table <yao::Trajectory> *aTrajectoryTable, yao::Table <yao::Space> *aSpaceTable, yao::Table <yao::Operator> *anOperatorTable, yao::Order *anOrder, QWidget *parent=0); |
---|
28 | |
---|
29 | private slots: |
---|
30 | void addSpaceNameInListView(); |
---|
31 | //void addTheEnd(); |
---|
32 | //void selectedFunction(QModelIndex index); |
---|
33 | |
---|
34 | signals: |
---|
35 | //void orderWindowIsClosed(int ); |
---|
36 | void theEndSignal(bool aBool); |
---|
37 | |
---|
38 | //protected: |
---|
39 | //void closeEvent(QCloseEvent *event); |
---|
40 | |
---|
41 | private : |
---|
42 | |
---|
43 | yao::Table <yao::Trajectory> *m_trajectoryTable; |
---|
44 | yao::Table <yao::Space> *m_spaceTable; |
---|
45 | yao::Table <yao::Operator> *m_operatorTable; |
---|
46 | QStandardItemModel *m_spaceOrOperanameModel; |
---|
47 | QStandardItemModel *m_outlineModel2; |
---|
48 | yao::Order *m_localOrder; |
---|
49 | }; |
---|
50 | #endif // SPACEINTRAJWINDOW_HPP |
---|