source: trunk/yao/src/interface/src/include/ModinspaceWindow.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

  • Property svn:executable set to *
File size: 1.7 KB
Line 
1/*
2  Nom du Fichier: ModinspaceWindow.hpp
3  Nom de classe: ModinspaceWindow
4  Role:
5  Functions:
6  Attributs:
7  */
8
9#ifndef MODINSPACEWINDOW_HPP
10#define MODINSPACEWINDOW_HPP
11#include <QStandardItemModel>
12#include <QModelIndex>
13#include <QMessageBox>
14#include "../../ui_modinspace.h"
15#include "../../../YAOObjects/Table.hpp"
16#include "../../../YAOObjects/Operator.hpp"
17#include "../../../YAOObjects/Modul.hpp"
18#include "../../../YAOObjects/Order.hpp"
19
20
21class ModinspaceWindow: public QWidget, public Ui::ModinspaceWindow {
22
23        Q_OBJECT
24
25        public :
26                ModinspaceWindow(yao::Table <yao::Modul> *aModulTable, yao::Table <yao::Space> *aSpaceTable, yao::Table <yao::Operator> *anOperatorTable, yao::Table <yao::Order> *anOrderTable, yao::Order *anOrder, QWidget *parent=0);
27
28        private slots:
29                //void addInstructionRow();     
30                //void selectedFunction(QModelIndex index);
31                void addTheAxesRow(); 
32                void addTheModulRow(); 
33                void deleteAxesRow(); 
34                void deleteModulRow(); 
35                void addBlockEndRow(int anInt); 
36        //      void addEndRow(bool aBool);
37       
38        signals:
39                //void orderWindowIsClosed(int );
40
41        //protected:
42                //void closeEvent(QCloseEvent *event);
43
44        private :
45                yao::Table <yao::Modul> *m_localModulTable;
46                yao::Table <yao::Space> *m_localSpaceTable;
47                yao::Table <yao::Operator> *m_localOperaTable;
48                yao::Table <yao::Order> *m_localOrderTable;
49                yao::Order *m_localOrder;
50               
51                QStandardItemModel *m_axesModel;
52                QStandardItemModel *m_modulNameModel;
53                QStandardItemModel *m_outlineModel;
54               
55                QModelIndex indexForAxes; 
56                QModelIndex indexForModul; 
57               
58                std::vector <std::string> *m_theLocalAxesTable;
59                std::vector <std::string> *m_theLocalModulTable;
60};
61#endif // MODINSPACEwINDOW_HPP
Note: See TracBrowser for help on using the repository browser.