1 | /* |
---|
2 | Nom du Fichier: SpaceintrajWindow.hpp |
---|
3 | Nom de classe: SpaceintrajWindow |
---|
4 | Role: |
---|
5 | Functions: |
---|
6 | Attributs: |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | Copyright or © or Copr. Abdouramane MAYAKI |
---|
11 | |
---|
12 | mail of the author: mayakiyerima@yahoo.fr |
---|
13 | |
---|
14 | This software is a framework for variational data assimilation in |
---|
15 | numerical models. |
---|
16 | |
---|
17 | This software is governed by the CeCILL license under French law and |
---|
18 | abiding by the rules of distribution of free software. You can use, |
---|
19 | modify and/ or redistribute the software under the terms of the CeCILL |
---|
20 | license as circulated by CEA, CNRS and INRIA at the following URL |
---|
21 | "http://www.cecill.info". |
---|
22 | |
---|
23 | As a counterpart to the access to the source code and rights to copy, |
---|
24 | modify and redistribute granted by the license, users are provided only |
---|
25 | with a limited warranty and the software's author, the holder of the |
---|
26 | economic rights, and the successive licensors have only limited |
---|
27 | liability. |
---|
28 | |
---|
29 | In this respect, the user's attention is drawn to the risks associated |
---|
30 | with loading, using, modifying and/or developing or reproducing the |
---|
31 | software by the user in light of its specific status of free software, |
---|
32 | that may mean that it is complicated to manipulate, and that also |
---|
33 | therefore means that it is reserved for developers and experienced |
---|
34 | professionals having in-depth computer knowledge. Users are therefore |
---|
35 | encouraged to load and test the software's suitability as regards their |
---|
36 | requirements in conditions enabling the security of their systems and/or |
---|
37 | data to be ensured and, more generally, to use and operate it in the |
---|
38 | same conditions as regards security. |
---|
39 | |
---|
40 | The fact that you are presently reading this means that you have had |
---|
41 | knowledge of the CeCILL license and that you accept its terms. |
---|
42 | */ |
---|
43 | |
---|
44 | #ifndef SPACEINTRAJWINDOW_HPP |
---|
45 | #define SPACEINTRAJWINDOW_HPP |
---|
46 | #include <QStandardItemModel> |
---|
47 | #include "../../ui_spaceintraj.h" |
---|
48 | #include "../../../YAOObjects/Table.hpp" |
---|
49 | #include "../../../YAOObjects/Operator.hpp" |
---|
50 | #include "../../../YAOObjects/Trajectory.hpp" |
---|
51 | #include "../../../YAOObjects/Order.hpp" |
---|
52 | |
---|
53 | class QModelIndex; |
---|
54 | class QMessageBox; |
---|
55 | |
---|
56 | class SpaceintrajWindow: public QWidget, public Ui::SpaceintrajWindow { |
---|
57 | |
---|
58 | Q_OBJECT |
---|
59 | |
---|
60 | public : |
---|
61 | SpaceintrajWindow(yao::Table <yao::Trajectory> *aTrajectoryTable, yao::Table <yao::Space> *aSpaceTable, yao::Table <yao::Operator> *anOperatorTable, yao::Table <yao::Order> *anOrderTable, yao::Order *anOrder, std::vector <std::string> *anOrderTokens, QWidget *parent=0); |
---|
62 | |
---|
63 | private slots: |
---|
64 | void addFOrder(int anInt); |
---|
65 | void addSpaceNameInListView(); |
---|
66 | //void addTheEnd(); |
---|
67 | //void selectedFunction(QModelIndex index); |
---|
68 | |
---|
69 | signals: |
---|
70 | //void orderWindowIsClosed(int ); |
---|
71 | void theEndSignal(bool aBool); |
---|
72 | |
---|
73 | //protected: |
---|
74 | //void closeEvent(QCloseEvent *event); |
---|
75 | |
---|
76 | private : |
---|
77 | |
---|
78 | yao::Table <yao::Trajectory> *m_trajectoryTable; |
---|
79 | yao::Table <yao::Space> *m_spaceTable; |
---|
80 | yao::Table <yao::Operator> *m_operatorTable; |
---|
81 | QStandardItemModel *m_spaceOrOperanameModel; |
---|
82 | QStandardItemModel *m_outlineModel2; |
---|
83 | yao::Order *m_localOrder; |
---|
84 | std::vector <std::string> *m_localOrderTokens; |
---|
85 | yao::Table <yao::Order> *m_localOrderTable; |
---|
86 | }; |
---|
87 | #endif // SPACEINTRAJWINDOW_HPP |
---|