X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FPipelineEditor%2FPipelineEditorMainWindow.cxx;h=5057790fe059d97730a76deeeedaedbf761a40f1;hb=183830055f401d334889eb83527a000129e45cad;hp=20ddc16524a5f854050454bc1cbd69b76bca7d79;hpb=e5916bd329611f11ff2f31ff42e853bac21b825a;p=cpPlugins.git diff --git a/appli/PipelineEditor/PipelineEditorMainWindow.cxx b/appli/PipelineEditor/PipelineEditorMainWindow.cxx index 20ddc16..5057790 100644 --- a/appli/PipelineEditor/PipelineEditorMainWindow.cxx +++ b/appli/PipelineEditor/PipelineEditorMainWindow.cxx @@ -26,12 +26,31 @@ PipelineEditorMainWindow( ); // Slots <-> signals - _QT_CONNECT_ACTION( Open ); - _QT_CONNECT_ACTION( Save ); - _QT_CONNECT_ACTION( Close ); - _QT_CONNECT_ACTION( LoadPluginFile ); - _QT_CONNECT_ACTION( LoadPluginDirectory ); - _QT_CONNECT_ACTION( ShowPlugins ); + this->connect( + this->m_UI->ActionOpen, SIGNAL( triggered( ) ), + this, SLOT( _InteractiveLoadWorkspace( ) ) + ); + this->connect( + this->m_UI->ActionSave, SIGNAL( triggered( ) ), + this, SLOT( _InteractiveSaveWorkspace( ) ) + ); + // TODO: _QT_CONNECT_ACTION( Close ); + this->connect( + this->m_UI->ActionLoadPluginFile, SIGNAL( triggered( ) ), + this, SLOT( _InteractiveLoadPlugins( ) ) + ); + this->connect( + this->m_UI->ActionLoadPluginDirectory, SIGNAL( triggered( ) ), + this, SLOT( _InteractiveLoadPluginsFromPath( ) ) + ); + this->connect( + this->m_UI->ActionShowPlugins, SIGNAL( triggered( ) ), + this, SLOT( _ShowPlugins( ) ) + ); + this->connect( + this->m_UI->ActionAddEnvironmentPath, SIGNAL( triggered( ) ), + this, SLOT( _InteractiveAddEnviromentPaths( ) ) + ); } // ------------------------------------------------------------------------- @@ -41,45 +60,4 @@ PipelineEditorMainWindow:: delete this->m_UI; } -// ------------------------------------------------------------------------- -void PipelineEditorMainWindow:: -_ActionOpen( ) -{ - this->_InteractiveLoadWorkspace( ); -} - -// ------------------------------------------------------------------------- -void PipelineEditorMainWindow:: -_ActionSave( ) -{ - this->_InteractiveSaveWorkspace( ); -} - -// ------------------------------------------------------------------------- -void PipelineEditorMainWindow:: -_ActionClose( ) -{ -} - -// ------------------------------------------------------------------------- -void PipelineEditorMainWindow:: -_ActionLoadPluginFile( ) -{ - this->_InteractiveLoadPlugins( ); -} - -// ------------------------------------------------------------------------- -void PipelineEditorMainWindow:: -_ActionLoadPluginDirectory( ) -{ - this->_InteractiveLoadPluginsFromPath( ); -} - -// ------------------------------------------------------------------------- -void PipelineEditorMainWindow:: -_ActionShowPlugins( ) -{ - this->_ShowPlugins( ); -} - // eof - $RCSfile$