source: trunk/yao/src/interface/src/include/ModinspaceWindow.hpp @ 476

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

In some class, the class predefined method is implemented. This will reduce the compilation time.

  • 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 <QMessageBox>
13#include "../../ui_modinspace.h"
14#include "../../../YAOObjects/Table.hpp"
15#include "../../../YAOObjects/Operator.hpp"
16#include "../../../YAOObjects/Modul.hpp"
17#include "../../../YAOObjects/Order.hpp"
18
19class QModelIndex; 
20
21
22class ModinspaceWindow: public QWidget, public Ui::ModinspaceWindow {
23
24        Q_OBJECT
25
26        public :
27                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);
28
29        private slots:
30                //void addInstructionRow();     
31                //void selectedFunction(QModelIndex index);
32                void addTheAxesRow(); 
33                void addTheModulRow(); 
34                void deleteAxesRow(); 
35                void deleteModulRow(); 
36                void addBlockEndRow(int anInt); 
37        //      void addEndRow(bool aBool);
38       
39        signals:
40                //void orderWindowIsClosed(int );
41
42        //protected:
43                //void closeEvent(QCloseEvent *event);
44
45        private :
46                yao::Table <yao::Modul> *m_localModulTable;
47                yao::Table <yao::Space> *m_localSpaceTable;
48                yao::Table <yao::Operator> *m_localOperaTable;
49                yao::Table <yao::Order> *m_localOrderTable;
50                yao::Order *m_localOrder;
51               
52                QStandardItemModel *m_axesModel;
53                QStandardItemModel *m_modulNameModel;
54                QStandardItemModel *m_outlineModel;
55               
56                QModelIndex indexForAxes; 
57                QModelIndex indexForModul; 
58               
59                std::vector <std::string> *m_theLocalAxesTable;
60                std::vector <std::string> *m_theLocalModulTable;
61};
62#endif // MODINSPACEwINDOW_HPP
Note: See TracBrowser for help on using the repository browser.