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

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

After working on the visual Yao script (called "configure"), some updates are made in the modinspace class (data are added in the Yao structures depending on the space or the operator.) 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};
62#endif // ORDERWINDOW_HPP
Note: See TracBrowser for help on using the repository browser.