]> Creatis software - cpPlugins.git/blobdiff - appli/PipelineEditor/PipelineEditor.h
...
[cpPlugins.git] / appli / PipelineEditor / PipelineEditor.h
index fa6f48ed537ae0e4b2a3eb5fc8cb1029837897c2..3f4a68be1d6fafb27325e897f839b719945a95ff 100644 (file)
@@ -1,42 +1,36 @@
-#ifndef __PIPELINEEDITOR__H__
-#define __PIPELINEEDITOR__H__
+#ifndef __PipelineEditor__h__
+#define __PipelineEditor__h__
 
-#include <cpPlugins/BaseQtMainWindow.h>
+#include <QMainWindow>
+#include <cpBaseQtApplication/MainWindow.h>
 
-// -------------------------------------------------------------------------
-namespace Ui
-{
-  class PipelineEditor;
-}
+namespace Ui { class PipelineEditor; }
 
 /**
  */
 class PipelineEditor
-  : public cpPlugins::BaseQtMainWindow
+  : public cpBaseQtApplication::MainWindow
 {
   Q_OBJECT;
-
 public:
-  typedef PipelineEditor              Self;
-  typedef cpPlugins::BaseQtMainWindow Superclass;
+  typedef PipelineEditor                  Self;
+  typedef cpBaseQtApplication::MainWindow Superclass;
 
 public:
   explicit PipelineEditor(
     int argc, char* argv[],
-    QApplication* app,
     QWidget* parent = NULL
     );
   virtual ~PipelineEditor( );
 
 protected slots:
-  void _ShowFilterOutput(
-    const std::string& filter_name, const std::string& output_name
-    );
+  void _slotView( const std::string& name, bool show );
 
 private:
   Ui::PipelineEditor* m_UI;
+  std::string m_ActiveWS;
 };
 
-#endif // __CPPIPELINEEDITOR__H__
+#endif // __PipelineEditor__h__
 
 // eof - $RCSfile$