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_informations_window.cpp

    r21 r26  
    1212  informations = new QBoxLayout(QBoxLayout::TopToBottom,0);
    1313  winfo->setWindowTitle("informations");
    14   winfo->setFixedSize(250,292);
    15   winfo->move(678,50);
     14  winfo->setFixedSize(350,292);
     15  winfo->move(628,50);
     16  lname = new QLabel();
     17  lname->setText("");
     18  comment = new QLineEdit();
     19  comment->setText("");
     20  informations->addWidget(lname);
     21  informations->addWidget(comment);
    1622  winfo->setLayout(informations);
    1723  winfo->show();
    1824}
    1925
     26void Window::write_comment(string cm){
     27  QString c = QString::fromStdString(cm);
     28  comment->setText(c);
     29}
     30
     31void Window::write_name(string name){
     32  QString n = QString::fromStdString(name);
     33  lname->setText(n);
     34}
Note: See TracChangeset for help on using the changeset viewer.