#ifndef __PIPELINEEDITOR__H__
#define __PIPELINEEDITOR__H__
-#include <cpPlugins/BaseQtMainWindow.h>
+#include <cpPipelineEditor/BaseQtMainWindow.h>
// -------------------------------------------------------------------------
namespace Ui
/**
*/
class PipelineEditor
- : public cpPlugins::BaseQtMainWindow
+ : public cpPipelineEditor::BaseQtMainWindow
{
Q_OBJECT;
public:
- typedef PipelineEditor Self;
- typedef cpPlugins::BaseQtMainWindow Superclass;
+ typedef PipelineEditor Self;
+ typedef cpPipelineEditor::BaseQtMainWindow Superclass;
public:
explicit PipelineEditor(
FOREACH(example ${examples_SOURCES})
ADD_EXECUTABLE(${example} ${example}.cxx)
- TARGET_LINK_LIBRARIES(${example} cpPlugins cpPipelineEditor)
+ TARGET_LINK_LIBRARIES(${example} cpPlugins)
ENDFOREACH(example)
## eof - $RCSfile$
-#include <cpPlugins/BaseQtMainWindow.h>
-
-#ifdef cpPlugins_QT4
+#include <cpPipelineEditor/BaseQtMainWindow.h>
#include <cpExtensions/QT/SimpleMPRWidget.h>
#include <cpPipelineEditor/Editor.h>
#include <QTreeWidget>
// -------------------------------------------------------------------------
-bool cpPlugins::BaseQtMainWindow::_TBlocker::
+bool cpPipelineEditor::BaseQtMainWindow::_TBlocker::
eventFilter( QObject* obj, QEvent* event )
{
return( true ); // -> Block all events
}
// -------------------------------------------------------------------------
-cpPlugins::BaseQtMainWindow::
+cpPipelineEditor::BaseQtMainWindow::
BaseQtMainWindow(
int argc, char* argv[],
QApplication* app,
}
// -------------------------------------------------------------------------
-cpPlugins::BaseQtMainWindow::
+cpPipelineEditor::BaseQtMainWindow::
~BaseQtMainWindow( )
{
this->m_Interface.UnloadAll( );
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_Configure(
QTreeWidget* tree,
cpExtensions::QT::SimpleMPRWidget* mpr,
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_LoadPlugins( const std::string& filename )
{
try
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_LoadPluginsFromPath( const std::string& path )
{
try
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_UpdateLoadedPlugins( )
{
this->_Block( );
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_Block( )
{
this->m_Application->setOverrideCursor( Qt::WaitCursor );
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_UnBlock( )
{
while( this->m_Application->overrideCursor( ) )
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_LoadWorkspace( const std::string& filename )
{
std::string err = this->m_Workspace.LoadWorkspace( filename );
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_SaveWorkspace( const std::string& filename )
{
std::string err = this->m_Workspace.SaveWorkspace( filename );
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_InteractiveLoadPlugins( )
{
QFileDialog dlg( this );
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_InteractiveLoadPluginsFromPath( )
{
QFileDialog dlg( this );
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_InteractiveLoadWorkspace( )
{
QFileDialog dlg( this );
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_InteractiveSaveWorkspace( )
{
QFileDialog dlg( this );
}
// -------------------------------------------------------------------------
-void cpPlugins::BaseQtMainWindow::
+void cpPipelineEditor::BaseQtMainWindow::
_ExecFilter( const std::string& filter_name )
{
this->_Block( );
);
}
-#endif // cpPlugins_QT4
-
// eof - $RCSfile$
-#ifndef __CPPLUGINS__BASEQTMAINWINDOW__H__
-#define __CPPLUGINS__BASEQTMAINWINDOW__H__
-
-#include <cpPlugins/Config.h>
-
-#ifdef cpPlugins_QT4
+#ifndef __CPPIPELINEEDITOR__BASEQTMAINWINDOW__H__
+#define __CPPIPELINEEDITOR__BASEQTMAINWINDOW__H__
+#include <cpPipelineEditor/cpPipelineEditor_Export.h>
#include <QMainWindow>
#include <cpPlugins/Interface.h>
#include <cpPlugins/Workspace.h>
class SimpleMPRWidget;
}
}
+class QTreeWidget;
+
namespace cpPipelineEditor
{
class Editor;
-}
-class QTreeWidget;
-namespace cpPlugins
-{
/**
*/
- class cpPlugins_EXPORT BaseQtMainWindow
+ class cpPipelineEditor_EXPORT BaseQtMainWindow
: public QMainWindow
{
Q_OBJECT;
void _ExecFilter( const std::string& filter_name );
protected:
- QApplication* m_Application;
- _TBlocker m_Blocker;
- Workspace m_Workspace;
- Interface m_Interface;
- std::string m_PluginsPath;
+ QApplication* m_Application;
+ _TBlocker m_Blocker;
+ cpPlugins::Workspace m_Workspace;
+ cpPlugins::Interface m_Interface;
+ std::string m_PluginsPath;
QTreeWidget* m_TreeWidget;
- cpPipelineEditor::Editor* m_Editor;
+ Editor* m_Editor;
};
} // ecapseman
-#endif // cpPlugins_QT4
-
-#endif // __CPPLUGINS__BASEQTMAINWINDOW__H__
+#endif // __CPPIPELINEEDITOR__BASEQTMAINWINDOW__H__
// eof - $RCSfile$
lib_QT_Headers
Canvas.h
Editor.h
+ BaseQtMainWindow.h
)
## =====================
i itkLineCell.h
i itkPolygonCell.h
i itkTriangleCell.h
+c itk::VectorContainer < unsigned long , itk::CellInterface< #1 , itk::CellTraitsInfo< #2 , float , float , unsigned long , unsigned long , unsigned long , itk::Point< float , #2 > , itk::VectorContainer< unsigned long , itk::Point< float , #2 > > , std::set< unsigned long , std::less< unsigned long > , std::allocator< unsigned long > > > >* >
c itk::VectorContainer< unsigned long, itk::Point< #1 , #2 > >
c itk::BoundingBox< unsigned long , #2 , float, itk::VectorContainer< unsigned long , itk::Point< float , #2 > > >
c itk::PointSet< #1 , #2 >
c #4 < #1 , #2 >
c #3 < itk::CellInterface< #1 , itk::CellTraitsInfo< #2 , float , float , unsigned long , unsigned long , unsigned long , itk::Point< float , #2 > , itk::VectorContainer< unsigned long , itk::Point< float , #2 > > , std::set< unsigned long , std::less< unsigned long > , std::allocator< unsigned long > > > > >
-c itk::VectorContainer < unsigned long , itk::CellInterface< #1 , itk::CellTraitsInfo< #2 , float , float , unsigned long , unsigned long , unsigned long , itk::Point< float , #2 > , itk::VectorContainer< unsigned long , itk::Point< float , #2 > > , std::set< unsigned long , std::less< unsigned long > , std::allocator< unsigned long > > > >* >
a #1 = #floats
a #2 = #all_visual_dims
a #3 = itk::LineCell;itk::PolygonCell;itk::TriangleCell
EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/plugins/${lib_DIR}/${lib_NAME}_Export.h
STATIC_DEFINE ${lib_NAME}_BUILT_AS_STATIC
)
-TARGET_LINK_LIBRARIES(${lib_NAME} cpPipelineEditor ${target_LIBRARIES})
+TARGET_LINK_LIBRARIES(${lib_NAME} ${target_LIBRARIES})
## ========================
## -- Installation rules --
EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/plugins/${lib_DIR}/${lib_NAME}_Export.h
STATIC_DEFINE ${lib_NAME}_BUILT_AS_STATIC
)
-TARGET_LINK_LIBRARIES(${lib_NAME} cpPipelineEditor ${target_LIBRARIES})
+TARGET_LINK_LIBRARIES(${lib_NAME} ${target_LIBRARIES})
## ========================
## -- Installation rules --
EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/plugins/${lib_DIR}/${lib_NAME}_Export.h
STATIC_DEFINE ${lib_NAME}_BUILT_AS_STATIC
)
-TARGET_LINK_LIBRARIES(${lib_NAME} cpPipelineEditor ${target_LIBRARIES})
+TARGET_LINK_LIBRARIES(${lib_NAME} ${target_LIBRARIES})
## ========================
## -- Installation rules --
EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/plugins/${lib_DIR}/${lib_NAME}_Export.h
STATIC_DEFINE ${lib_NAME}_BUILT_AS_STATIC
)
-TARGET_LINK_LIBRARIES(${lib_NAME} cpPipelineEditor ${target_LIBRARIES})
+TARGET_LINK_LIBRARIES(${lib_NAME} ${target_LIBRARIES})
## ========================
## -- Installation rules --
EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/plugins/${lib_DIR}/${lib_NAME}_Export.h
STATIC_DEFINE ${lib_NAME}_BUILT_AS_STATIC
)
-TARGET_LINK_LIBRARIES(${lib_NAME} cpPipelineEditor ${target_LIBRARIES})
+TARGET_LINK_LIBRARIES(${lib_NAME} ${target_LIBRARIES})
## ========================
## -- Installation rules --
EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/plugins/${lib_DIR}/${lib_NAME}_Export.h
STATIC_DEFINE ${lib_NAME}_BUILT_AS_STATIC
)
-TARGET_LINK_LIBRARIES(${lib_NAME} cpPipelineEditor ${target_LIBRARIES})
+TARGET_LINK_LIBRARIES(${lib_NAME} ${target_LIBRARIES})
## ========================
## -- Installation rules --