Changeset 477 for trunk/yao/src/interface
- Timestamp:
- 11/02/10 18:16:46 (14 years ago)
- Location:
- trunk/yao/src/interface
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yao/src/interface/projects/demo/demo.d
r470 r477 23 23 space soc_4 M 5 5 3 toc_4 24 24 space soc_5 M 4 3 5 toc_1 25 space soc_6 M 6 5 toc_1 25 26 26 27 #NETWARD netname indegree outdegree -
trunk/yao/src/interface/src/MainWindow.cpp
r476 r477 68 68 tabWidget->addTab(page2, " Exécution "); 69 69 70 //Editor *edit = new Editor; 71 //pt_espace->addWindow(editor); 72 //editor->show(); 73 74 connect(this, SIGNAL(WindowTitleChanged()), this, SLOT(setTitle())); 70 connect(this, SIGNAL(WindowTitleChanged()), this, SLOT(setTitle())); 75 71 this->showMaximized(); // Maximise toujours la fenetre principale. 76 72 … … 235 231 // Les actions du menu Configuration 236 232 actionEditeur = new QAction(tr("Editeur par defaut"), this); 233 connect(actionEditeur, SIGNAL(triggered()), this, SLOT(createEditor())); 237 234 238 235 // Les actions du menu Aide … … 247 244 } 248 245 246 /******************************** Implementation of the createEditor() SLOT *********************************************************************/ 247 void MainWindow::createEditor() { 248 249 Editor *edit = new Editor(this); 250 edit->open(); 251 pt_espace->addWindow(edit); 252 edit->show(); 253 254 255 } 249 256 /********************************* Implementation of the enableIAction() method ***************************************************************************/ 250 257 void MainWindow::enableIAction() { -
trunk/yao/src/interface/src/include/MainWindow.hpp
r476 r477 39 39 class QStringList; 40 40 class QStringListModel; 41 42 41 class HatNameWindow; 42 43 43 /*! 44 44 * \class MainWindow … … 143 143 void save(); 144 144 void enableIAction(); 145 void createEditor(); 145 146 146 147 signals :
Note: See TracChangeset
for help on using the changeset viewer.