]> Creatis software - cpPlugins.git/blobdiff - appli/PipelineEditor/PipelineEditor.h
Moved to version 1.0
[cpPlugins.git] / appli / PipelineEditor / PipelineEditor.h
index 1ab1c61c012cfc725e7aff9e8f3320f80fbdcc8d..f8fb22941da651a23e41b9bfa4f66552803fd6fc 100644 (file)
@@ -1,45 +1,28 @@
-#ifndef __PipelineEditor__h__
-#define __PipelineEditor__h__
+// =========================================================================
+// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
+// =========================================================================
+#ifndef __cpPlugins__appli__PipelineEditor__PipelineEditor__h__
+#define __cpPlugins__appli__PipelineEditor__PipelineEditor__h__
 
 #include <QMainWindow>
-#include <cpBaseQtApplication/MainWindow.h>
+#include <PipelineEditor/ui_PipelineEditor.h>
+#include <cpPlugins/Interface/Manager.h>
 
-namespace Ui { class PipelineEditor; }
-
-/**
- */
 class PipelineEditor
-  : public cpBaseQtApplication::MainWindow
+  : public QMainWindow,
+    private Ui::PipelineEditor
 {
   Q_OBJECT;
-public:
-  typedef PipelineEditor                  Self;
-  typedef cpBaseQtApplication::MainWindow Superclass;
 
 public:
-  explicit PipelineEditor(
-    int argc, char* argv[],
-    QWidget* parent = NULL
-    );
+  explicit PipelineEditor( QWidget* parent = NULL );
   virtual ~PipelineEditor( );
 
-protected:
-  template< class _TWidget >
-  inline std::pair< _TWidget*, bool > _configureViewer( );
-
-protected slots:
-  virtual void _addWorkspace( const std::string& name ) cpPlugins_OVERRIDE;
-  void _slotOpenWorkspace( );
-  void _slotSaveWorkspace( );
-  void _slotSaveWorkspaceAs( );
-  void _slotView( const std::string& name, bool show );
-  void _slotActorsProperties( );
-
 private:
-  Ui::PipelineEditor* m_UI;
-  std::string m_ActiveWS;
+  std::string m_HomeDir;
+  cpPlugins::Interface::Manager m_Mgr;
 };
 
-#endif // __PipelineEditor__h__
+#endif // __cpPlugins__appli__PipelineEditor__PipelineEditor__h__
 
 // eof - $RCSfile$