1 #ifndef __PIPELINEEDITOR__H__
2 #define __PIPELINEEDITOR__H__
5 #include <QApplication>
7 #include <cpPlugins/Interface.h>
8 #include <cpPlugins/Workspace.h>
12 class PipelineEditor_Blocker
16 virtual bool eventFilter( QObject* obj, QEvent* event ) ITK_OVERRIDE;
19 // -------------------------------------------------------------------------
33 typedef PipelineEditor Self;
34 typedef QMainWindow Superclass;
37 explicit PipelineEditor(
38 int argc, char* argv[],
40 QWidget* parent = NULL
42 virtual ~PipelineEditor( );
45 void _LoadPluginsFromPath( const std::string& path );
46 void _UpdateLoadedPlugins( );
51 void _ButtonLoadPluginsFile( );
52 void _ButtonLoadPluginsPath( );
53 void _ActionOpenWorkspace( );
54 void _ActionSaveWorkspace( );
55 void _ExecFilter( const std::string& filter_name );
56 void _ShowFilterOutput(
57 const std::string& filter_name, const std::string& output_name
61 Ui::PipelineEditor* m_UI;
62 QApplication* m_Application;
63 PipelineEditor_Blocker m_Blocker;
64 cpPlugins::Workspace* m_Workspace;
65 cpPlugins::Interface m_Interface;
66 std::string m_PluginsPath;
69 #endif // __CPPIPELINEEDITOR__H__