Changeset 344 for trunk/yao/src/interface/src/MainWindow.cpp
- Timestamp:
- 06/17/10 17:54:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yao/src/interface/src/MainWindow.cpp
r341 r344 319 319 connect(m_ConstantCopy, SIGNAL(rowIsAdded()), this, SLOT(hatUpdate())); 320 320 connect(m_ConstantCopy, SIGNAL(rowIsDeleted(QString )), this, SLOT(hatUpdate(QString ))); 321 connect(m_ConstantCopy, SIGNAL(windowIsClosed(int )), this, SLOT(initializeWindow(int ))); 321 connect(m_ConstantCopy, SIGNAL(windowIsClosed(int )), this, SLOT(initializeWindow(int )));// The signal is in the ConstantWindow.hpp file. 322 322 323 323 } … … 332 332 } 333 333 334 connect(m_hatCopy, SIGNAL(hatWindowIsClosed(int)), this, SLOT(initializeWindow(int))); 334 connect(m_hatCopy, SIGNAL(hatWindowIsClosed(int)), this, SLOT(initializeWindow(int)));// The signal is in the HatNameWindow.hpp file. 335 335 } 336 336 /********************************************* Implementation of the method createContextWindow() *************************************************/ … … 344 344 } 345 345 346 //connect(m_ContextCopy, SIGNAL(contextWindowIsClosed(int)), this, SLOT(initializeWindow(int)));346 connect(m_ContextCopy, SIGNAL(contextWindowIsClosed(int)), this, SLOT(initializeWindow(int))); 347 347 } 348 348 /********************************************* Implementation of the method createTrajectoryWindow() ************************************************/ … … 355 355 m_trajCopy->show(); 356 356 357 m_trajCopy = NULL;357 //m_trajCopy = NULL; 358 358 } 359 359 360 //connect(m_ContextCopy, SIGNAL(contextWindowIsClosed(int)), this, SLOT(initializeWindow(int)));360 connect(m_trajCopy, SIGNAL(trajectoryWindowIsClosed(int)), this, SLOT(initializeWindow(int))); 361 361 } 362 362 /********************************************* Implementation of the method createSpaceWindow() ************************************************/ … … 419 419 case 6: { 420 420 m_operaCopy = NULL; 421 break; 422 } 423 case 7: { 421 } break; 422 case 7: { 424 423 m_netwardCopy = NULL; 425 424 break; … … 741 740 } 742 741 /********************************************* Implementation of the method setWindowTitle(const QString &title) ***********************************/ 743 //void MainWindow::setWindowTitle(const QString &title) { 744 745 // QWidget::setWindowTitle(title); 746 //} 742 void MainWindow::setActiveProject(const bool aBool) { 743 744 m_activeProject = aBool; 745 } 746 /********************************************* Implementation of the method setWindowTitle(const QString &title) ***********************************/ 747 bool MainWindow::isActiveProject() { 748 749 return m_activeProject; 750 } 747 751 /************************************** Implementation of the method createFile(string data, string extension) ************************************/ 748 752 void MainWindow::createFile(string data, string extension) {
Note: See TracChangeset
for help on using the changeset viewer.