source: trunk/yao/src/interface/src/include/OrderWindow.hpp @ 472

Last change on this file since 472 was 472, checked in by yerima, 14 years ago

The common object witch is the "Order" is present present both in the modinspace window than in the spaceintraj one according to the grammar. So some updates are made in those three class (OrderWindow?, ModinspaceWindow? and SpaceintrajWindow?).Visual Yao

File size: 1.6 KB
Line 
1/*
2  Nom du Fichier: OrderWindow.hpp
3  Nom de classe: OrderWindow
4  Role:
5  Functions:
6  Attributs:
7  */
8
9#ifndef ORDERWINDOW_HPP
10#define ORDERWINDOW_HPP
11
12
13#include "../../ui_orderwindow.h"
14#include "../../../YAOObjects/Table.hpp"
15#include "../../../YAOObjects/Operator.hpp"
16#include "../../../YAOObjects/Trajectory.hpp"
17#include "../../../YAOObjects/Order.hpp"
18#include "ModinspaceWindow.hpp"
19#include "SpaceintrajWindow.hpp"
20
21#include <QStandardItemModel>
22#include <QStackedLayout>
23#include <QRadioButton>
24#include <QVBoxLayout>
25#include <QHBoxLayout>
26
27class OrderWindow : public QWidget, public Ui::OrderWindow {
28
29        Q_OBJECT
30
31        public :
32            OrderWindow(yao::Table <yao::Trajectory> *aTrajectoryTable, yao::Table <yao::Space> *aSpaceTable, yao::Table <yao::Operator> *anOperatorTable, yao::Table <yao::Modul> *aModulTable, yao::Table <yao::Order> *anOrderTable, QWidget *parent=0);
33
34        private slots:
35                void theOrderHelp();
36                void initializeTheCheckBox(bool);
37
38        signals:
39                void orderWindowIsClosed(int );
40
41        protected:
42                void closeEvent(QCloseEvent *event);
43
44        private :
45                QStandardItemModel *m_orderModel;
46                QStackedLayout *stackedLayout;
47
48                //QRadioButton *m_modinspaceRadioButton;
49                //QRadioButton *m_spaceintrajRadioButton;
50               
51                QVBoxLayout *mainLayout;
52                //QHBoxLayout *horizontalLayout;
53
54                //QComboBox     *m_choiceComboBox;             
55                bool stateOfSpaceintrajEndCheckBox;     
56                yao::Table <yao::Trajectory> *m_localTrajectoryTable;
57                yao::Table <yao::Space> *m_localSpaceTable;
58                yao::Table <yao::Operator> *m_localOperaTable;
59                yao::Table <yao::Modul> *m_localModulTable;
60                yao::Table <yao::Order> *m_localOrderTable;
61                yao::Order m_localOrder;
62};
63#endif // ORDERWINDOW_HPP
Note: See TracBrowser for help on using the repository browser.