Changeset 468


Ignore:
Timestamp:
10/26/10 09:02:50 (14 years ago)
Author:
yerima
Message:

The checkBox in the ModinspaceWindow? are active but no more control is implemented.

Location:
trunk/yao/src/interface/src
Files:
3 edited

Legend:

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

    r460 r468  
    175175 
    176176                                        m_localConnectionTable->push_back(m_localConnection);//Insertion in Yao structures. 
     177                                        toInitialize(); 
    177178                                        emit ctinRowIsAdded(true); 
    178179                                }        
     
    365366 
    366367/****************************************************************************************************************************/ 
    367 /*QStringList ConnectionWindow::getDataCtin() { 
    368  
    369      return CtinData; 
     368/*void ConnectionWindow::toInitialize() { 
     369         
     370 
    370371}*/ 
    371372 
     
    376377        m_ctinModulOutCombo->setCurrentIndex(0); 
    377378        m_ctinInCombo->setCurrentIndex(0); 
     379        m_ctinIn2Combo->setCurrentIndex(0);  
     380        m_ctinIn3Combo->setCurrentIndex(0);  
     381 
    378382        m_ctinOutCombo->setCurrentIndex(0); 
     383        m_ctinOut2Combo->setCurrentIndex(0);  
     384        m_ctinOut3Combo->setCurrentIndex(0);  
     385 
    379386        m_ctinICombo->setCurrentIndex(0); 
    380387        m_ctinJCombo->setCurrentIndex(0); 
  • trunk/yao/src/interface/src/ModinspaceWindow.cpp

    r465 r468  
    8181        connect(m_rightModulNameButton, SIGNAL(clicked()), this, SLOT(addTheModulRow())); 
    8282        //connect(m_modinspaceDeleteButton, SIGNAL(clicked()), this, SLOT(deleteTheRow())); 
    83  
    84 } 
     83        connect(m_blocEndCheckBox, SIGNAL(clicked(bool )), this, SLOT(addBlockEndRow(bool ))); 
     84        connect(m_endCheckBox, SIGNAL(clicked(bool )), this, SLOT(addEndRow(bool ))); 
     85 
     86} 
     87/******************************** implementation of method ***********************************/ 
     88void ModinspaceWindow::addBlockEndRow(bool aBool) { 
     89         
     90        int row0 = m_outlineModel->rowCount(); 
     91        if (aBool && row0 >= 2) 
     92                m_outlineModel->setItem(row0, 1, new QStandardItem("forder"));  
     93                         
     94} 
     95/******************************** implementation of method ***********************************/ 
     96void ModinspaceWindow::addEndRow(bool aBool) { 
     97         
     98        int row0 = m_outlineModel->rowCount(); 
     99        if (aBool && row0 >= 2) 
     100                m_outlineModel->setItem(row0, 0, new QStandardItem("forder"));  
     101                         
     102} 
     103/********************************* Implementation of the selectedFunction(QModelIndex index) method  ***********************************/ 
    85104/******************************** implementation of method ***********************************/ 
    86105/*void ModinspaceWindow::callClicked(const QModelIndex &index) { 
  • trunk/yao/src/interface/src/include/ModinspaceWindow.hpp

    r465 r468  
    3232                void deleteAxesRow();  
    3333                void deleteModulRow();  
    34                  
     34                void addBlockEndRow(bool aBool);  
     35                void addEndRow(bool aBool);  
     36         
    3537        signals: 
    3638                //void orderWindowIsClosed(int ); 
Note: See TracChangeset for help on using the changeset viewer.