Changeset 26 for trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_informations_window.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_informations_window.cpp
r21 r26 12 12 informations = new QBoxLayout(QBoxLayout::TopToBottom,0); 13 13 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); 16 22 winfo->setLayout(informations); 17 23 winfo->show(); 18 24 } 19 25 26 void Window::write_comment(string cm){ 27 QString c = QString::fromStdString(cm); 28 comment->setText(c); 29 } 30 31 void 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.