Ignore:
Timestamp:
May 22, 2007, 1:09:15 PM (17 years ago)
Author:
chou
Message:

Release 3 du viewer:
Etape 1 et 2 du projet complet et à jour.

File:
1 edited

Legend:

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

    r21 r26  
    2626    tree->setRootIndex(dir->index("./data/"));
    2727    file_name = new QLineEdit(wo);
    28     file_name->setText("data/");
    2928    QPushButton *ok_open = new QPushButton("ok",wo);
    3029    connect(ok_open,SIGNAL(clicked()),this,SLOT(_open_end()));
     
    6766    is_parse=true;
    6867  }
    69   if(parse->open_file( current_name.toStdString())==-1)
     68  if(parse->open_file( current_name.toStdString(),0)==-1)
    7069    _open_error();
    7170  else{
     
    7978  is_save = true;
    8079  base = parse->getBaseV();//parse the base and open the file
    81   //base->afficheBaseConsole();
     80  #ifdef DEBUG_ALL
     81  base->afficheBaseConsole();
     82  #endif
     83  cpt_level = 0;
     84 
     85  tab[cpt_level] = "";
    8286  file_open = true;
    8387  QList <BaseP> *liste_compo = base->getBaseP();
    8488  p = liste_compo->at(0);
    8589  entity = p.getEntity();
     90  current = QString::fromStdString(entity->getName());
    8691  c = new Coord(250,250,250,250);
    8792  port_east = entity->getPortEast(c);
     
    9196  paint = true;
    9297  repaint();
     98  setMouseTracking(true);
    9399}
    94100
Note: See TracChangeset for help on using the changeset viewer.