Ignore:
Timestamp:
May 30, 2007, 6:42:46 PM (17 years ago)
Author:
rosiere
Message:

Viewer : les noms des composants sont construit à partir de l'attribut "name" et nom à partir de l'attribut "type"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_mouseEvent.cpp

    r32 r34  
    2929      int taillex = co->get_size_x();
    3030      int tailley = co->get_size_y();
    31       QString t=QString::fromStdString(it->getType()).toLower();
     31      QString t=QString::fromStdString(it->getName());
     32      //QString t=QString::fromStdString(it->getType()).toLower();
    3233      /*go to the next level if comoponent doubleclicked*/
    3334      if(e->type() == QMouseEvent::MouseButtonDblClick && e->button() == Qt::LeftButton){
     
    177178         taillex = co->get_size_x();
    178179         tailley = co->get_size_y();
    179          QString t=QString::fromStdString(it->getType()).toLower();
     180         QString t=QString::fromStdString(it->getName());
     181         //QString t=QString::fromStdString(it->getType()).toLower();
    180182         QList<PortMap> *pm=it->getPortMap();
    181183         
Note: See TracChangeset for help on using the changeset viewer.