]> Creatis software - cpPlugins.git/blobdiff - appli/PipelineEditor/PipelineEditorMainWindow.cxx
...
[cpPlugins.git] / appli / PipelineEditor / PipelineEditorMainWindow.cxx
index 2884c3640b69a2c32748b4bda1e7a5057390fc47..eb7b985949c535b5112a9e4ff905a70a19243cec 100644 (file)
@@ -11,37 +11,20 @@ PipelineEditorMainWindow(
 {
   // Basic UI configuration
   this->m_UI->setupUi( this );
-  this->UpdateEnvironment( );
-  this->_Configure(
-    this->m_UI->Plugins, this->m_UI->MPR, this->m_UI->Canvas->editor( )
+  this->_configure(
+    this->m_UI->Navigator,
+    this->m_UI->MPR,
+    this->m_UI->Canvas->editor( )
     );
 
   // Slots <-> signals
-  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( ) )
-    );
+  cpBaseQtApplication_ConnectAction( ActionOpen, _loadWorkspace );
+  cpBaseQtApplication_ConnectAction( ActionSave, _saveWorkspace );
+  cpBaseQtApplication_ConnectAction( ActionShowPlugins, _showPlugins );
+  cpBaseQtApplication_ConnectAction( ActionAddEnvironmentPath, _addEnvironmentPaths );
+  cpBaseQtApplication_ConnectAction( ActionLoadPluginFile, _loadPlugins );
+  cpBaseQtApplication_ConnectAction( ActionLoadPluginDirectory, _loadPluginsFromPath );
+  cpBaseQtApplication_ConnectAction( ActionActorsProperties, _actorsProperties );
 }
 
 // -------------------------------------------------------------------------