Ignore:
Timestamp:
May 30, 2007, 6:21:04 PM (17 years ago)
Author:
chou
Message:

correction de qq bugs

Location:
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src
Files:
2 edited

Legend:

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

    r32 r33  
    1313  QString current2;
    1414  if(!file_open && is_save){//if no file open or if the file opened has been saved -> open other file, else -> ask for saving file
    15     current2 = QFileDialog::getOpenFileName(this,"", "./data");
     15    current2 = QFileDialog::getOpenFileName(this,"", "./data",tr("(*.pos)"));
    1616    this->setDisabled(true);
    1717    /*if a file has been opened*/
     
    7979  repaint();
    8080  display_param();
     81  wparam->close();
     82  this->_parameters();
     83  this->_parameters();
    8184  this->setDisabled(false);
    8285  setMouseTracking(true);
     
    98101      wa->close();
    99102    if(save_as){//if "save as"
    100       current_name = QFileDialog::getSaveFileName(this,"","./data");
     103      current_name = QFileDialog::getSaveFileName(this,"","./data",tr("(*.cfg)"));
    101104      save_as = false;
    102105      parse->save_file(current_name.toStdString(),0);
  • trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_parameters_window.cpp

    r32 r33  
    5050  scpu.append(" \n");
    5151  cpu ->setText(QString::fromStdString(scpu));
    52   cpu->setFixedSize(300,50);
     52  cpu->setFixedSize(350,50);
    5353  pbox->addWidget(cpu);
    5454 
     
    235235  cout << "value : " << v << endl;
    236236  param = obj.section(":",1,1);
    237   //cout << "param : " << param.toStdString() << endl;
     237  cout << "param : " << param.toStdString() << endl;
    238238
    239239  base->modifyValue(group.toStdString(),param.toStdString(),v);
     
    252252  QString obj = QObject::sender()->objectName();
    253253  int v,j;
    254   //cout << "name : " << obj.toStdString() << endl;
     254  cout << "name : " << obj.toStdString() << endl;
    255255  v = i;
    256256  //cout << "value : " << v << endl;
     
    263263    exit(1);
    264264  }
     265 
    265266  wparam->close();
    266267  apply_display = false;
Note: See TracChangeset for help on using the changeset viewer.