]> Creatis software - cpPlugins.git/blob - appli/cpPipelineEditor/App_cpPipelineEditor.h
9d0d99a1998d91b48daf1c3caee3a2e4d87554ed
[cpPlugins.git] / appli / cpPipelineEditor / App_cpPipelineEditor.h
1 #ifndef __APP_CPPIPELINEEDITOR__H__
2 #define __APP_CPPIPELINEEDITOR__H__
3
4 // Qt stuff
5 #include <QMainWindow>
6
7 // -------------------------------------------------------------------------
8 namespace Ui
9 {
10   class App_cpPipelineEditor;
11 }
12
13 namespace cpPlugins
14 {
15   namespace Interface
16   {
17     class Workspace;
18     class Interface;
19   }
20 }
21
22 /**
23  */
24 class App_cpPipelineEditor
25   : public QMainWindow
26 {
27   Q_OBJECT;
28
29 public:
30   typedef App_cpPipelineEditor Self;
31   typedef QMainWindow      Superclass;
32
33 public:
34   explicit App_cpPipelineEditor(
35     int argc, char* argv[],
36     QWidget* parent = 0
37     );
38   virtual ~App_cpPipelineEditor( );
39
40 protected:
41   void _UpdateLoadedPlugins( );
42
43 protected slots:
44   void _ButtonLoadPluginsFile( );
45   void _ButtonLoadPluginsPath( );
46   void _ActionOpenWorkspace( );
47   void _ActionSaveWorkspace( );
48
49 private:
50   Ui::App_cpPipelineEditor* m_UI;
51   cpPlugins::Interface::Workspace* m_Workspace;
52   cpPlugins::Interface::Interface* m_Plugins;
53 };
54
55 #endif // __CPPIPELINEEDITOR__H__
56
57 // eof - $RCSfile$