1 #include <appli/PipelineEditor/PipelineEditorMainWindow.h>
2 #include <appli/PipelineEditor/ui_PipelineEditorMainWindow.h>
6 // -------------------------------------------------------------------------
7 #define _QT_CONNECT_ACTION( ACTION ) \
9 this->m_UI->Action##ACTION, SIGNAL( triggered( ) ), \
10 this, SLOT( _Action##ACTION( ) ) \
13 // -------------------------------------------------------------------------
14 PipelineEditorMainWindow::
15 PipelineEditorMainWindow(
16 int argc, char* argv[], QApplication* app, QWidget* parent
18 : Superclass( argc, argv, app, parent ),
19 m_UI( new Ui::PipelineEditorMainWindow )
21 // Basic UI configuration
22 this->m_UI->setupUi( this );
23 this->UpdateEnvironment( );
25 this->m_UI->Plugins, this->m_UI->MPR, this->m_UI->Canvas->editor( )
30 this->m_UI->ActionOpen, SIGNAL( triggered( ) ),
31 this, SLOT( _InteractiveLoadWorkspace( ) )
34 this->m_UI->ActionSave, SIGNAL( triggered( ) ),
35 this, SLOT( _InteractiveSaveWorkspace( ) )
37 // TODO: _QT_CONNECT_ACTION( Close );
39 this->m_UI->ActionLoadPluginFile, SIGNAL( triggered( ) ),
40 this, SLOT( _InteractiveLoadPlugins( ) )
43 this->m_UI->ActionLoadPluginDirectory, SIGNAL( triggered( ) ),
44 this, SLOT( _InteractiveLoadPluginsFromPath( ) )
47 this->m_UI->ActionShowPlugins, SIGNAL( triggered( ) ),
48 this, SLOT( _ShowPlugins( ) )
51 this->m_UI->ActionAddEnvironmentPath, SIGNAL( triggered( ) ),
52 this, SLOT( _InteractiveAddEnviromentPaths( ) )
56 // -------------------------------------------------------------------------
57 PipelineEditorMainWindow::
58 ~PipelineEditorMainWindow( )