Changeset 352 for trunk/yao


Ignore:
Timestamp:
06/20/10 12:05:03 (14 years ago)
Author:
yerima
Message:

The include/Modul.hpp file is removed.

Location:
trunk/yao/src/interface/src
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yao/src/interface/src/ConstantWindow.cpp

    r345 r352  
    2323ConstantWindow::ConstantWindow(Table <Constant> *aConstantTable, vector <string> *aHeaderList, MainWindowController *mwc, QWidget *parent): QWidget(parent), m_localConstantTable(NULL), localHatWindow(NULL) { /*!< The constructor. */ 
    2424        setupUi(this);   
    25 //      setWindowTitle("Directive Constant.");     /*!< To set the window's title. */ 
    2625        m_localConstantTable    = aConstantTable; 
    2726        localHeaderList         = aHeaderList; 
     
    2928        //localConstantController = aConstantController; 
    3029                 
    31 //      m_nameLabel             = new QLabel("Nom constante: ", this);    /*!< QLabel for Nom de la constante . */ 
    32 //      m_valueLabel            = new QLabel("Valeur constante: ", this);  /*!< QLabel for Valeur de la constante. */ 
    33  
    34 //      m_ligneNom              = new QLineEdit(this) ;    /*!< Name of the QLineEdit. */ 
    35 //      m_ligneValeur           = new QLineEdit(this) ;   /*!< Value of the QLineEdit. */ 
    36  
    37 //      m_addButton             = new QPushButton("Ajouter", this);   /*!< QPushButton for Ajout. */ 
    38 //      m_helpButton           = new QPushButton("Aide");   /*!< QPushButton for aide. */ 
    39 //              m_helpButton->setMaximumSize(35, 25); 
    40 //      m_delButton             = new QPushButton("Supprimer", this);  /*!< QPushButton for Supprimer. */ 
    4130                if(isConstantTableEmpty()) m_delButton ->setDisabled(true);       /*!< setDisabled is true. */ 
    42 //      m_quitButton                    = new QPushButton("Quitter", this);   /*!< QPushButton for Quitter. */ 
    4331 
    4432        modele = new  QStandardItemModel(0, 2);//Nombre de lignes et colonnes du modÚle. 
     
    5038                modele->setItem(modele->rowCount()-1, 1, new QStandardItem(QString(it->getText().c_str())));//Apres le 1er ajout, la ligne vaut i+1 
    5139                } 
    52         //modele = new  QStandardItemModel(0, 2);//Nombre de lignes et colonnes du modÚle. 
    53         //      modele->setHorizontalHeaderLabels(QStringList() << "Constante(s)" << "Valeur(s)"); /*!< displays the QTableWidget */ 
    5440        //if (mwc->isStringLiteral("malkj")) cout << "cest bon ça" << endl; else cout << "Oh dommage!" << endl; 
    55 //      m_tableView                     = new QTableView;  /*!< QTableWidget's in whitch the objects are listed for thue view. */ 
    5641                m_tableView->setModel(modele); 
    5742                m_tableView->setEditTriggers(QAbstractItemView::NoEditTriggers); /*!< this ligne give no edit mode*/ 
     
    5944                m_tableView->setSelectionBehavior(QAbstractItemView::SelectRows);  /*!< this ligne give a section of the ligne */ 
    6045                m_tableView->resizeColumnsToContents(); 
    61         //QHeaderView *horiz = new QHeaderView(Qt::Horizontal); 
    62  
    63 //      m_layoutGrid            = new QGridLayout;  /*!< set QGridLayout m-layoutG  */ 
    64 //              m_layoutGrid->addWidget(m_nameLabel  , 0, 2); 
    65   //              m_layoutGrid->addWidget(m_ligneNom , 0, 3, 1, 2); 
    66     //            m_layoutGrid->addWidget(m_valueLabel , 1, 2); 
    67       //          m_layoutGrid->addWidget(m_ligneValeur , 1, 3, 1, 2); 
    68         //        m_layoutGrid->addWidget(m_tableView , 2, 2, 7, 2); /*!< added m_m_tableView  in the QGridLayout */ 
    69           //      m_layoutGrid->addWidget(m_addButton , 3, 4);  /*!< added m_addButton  in the QGridLayout */ 
    70             //    m_layoutGrid->addWidget(m_delButton , 4, 4); /*!< added m_delButton  in the QGridLayout */ 
    71               //  m_layoutGrid->addWidget(m_quitButton, 5, 4);  
    72               //  m_layoutGrid->addWidget(m_helpButton, 8, 4); /*!<  m_ helpButton in the QGridLayout */ 
    73  
    74 //      setLayout(m_layoutGrid); //Activation du gestionnaire principal. 
    7546 
    7647 
  • trunk/yao/src/interface/src/include/ModulWindow.hpp

    r346 r352  
    22#define MODULWINDOW_HPP 
    33 
    4 #include "Entete.hpp" 
    54#include "MainWindowController.hpp" 
    6 #include <QFormLayout> 
    7 #include <QLineEdit> 
    8 #include <QComboBox> 
    95#include <QString> 
    106#include <QFileDialog> 
     
    2420 
    2521        public : 
    26                 //ModulWindow(QWidget *parent = 0); 
    2722                ModulWindow(yao::Table <yao::Modul> *aModulTable, yao::Table <yao::Space> *aSpaceIdentifier, yao::Table <yao::Operator> *anOperatorTable, yao::Table <yao::Constant> *aConstantTable, MainWindowController *mwc, QWidget *parent=0); 
    2823 
Note: See TracChangeset for help on using the changeset viewer.