Changeset 26 for trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_file_actions.cpp
- Timestamp:
- May 22, 2007, 1:09:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_file_actions.cpp
r21 r26 26 26 tree->setRootIndex(dir->index("./data/")); 27 27 file_name = new QLineEdit(wo); 28 file_name->setText("data/");29 28 QPushButton *ok_open = new QPushButton("ok",wo); 30 29 connect(ok_open,SIGNAL(clicked()),this,SLOT(_open_end())); … … 67 66 is_parse=true; 68 67 } 69 if(parse->open_file( current_name.toStdString() )==-1)68 if(parse->open_file( current_name.toStdString(),0)==-1) 70 69 _open_error(); 71 70 else{ … … 79 78 is_save = true; 80 79 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] = ""; 82 86 file_open = true; 83 87 QList <BaseP> *liste_compo = base->getBaseP(); 84 88 p = liste_compo->at(0); 85 89 entity = p.getEntity(); 90 current = QString::fromStdString(entity->getName()); 86 91 c = new Coord(250,250,250,250); 87 92 port_east = entity->getPortEast(c); … … 91 96 paint = true; 92 97 repaint(); 98 setMouseTracking(true); 93 99 } 94 100
Note: See TracChangeset
for help on using the changeset viewer.