-#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;
cpExtensions::QT::SimpleMPRWidget* mpr,
cpPipelineEditor::Editor* editor
);
+ void _CreateWorkspace( );
void _LoadPlugins( const std::string& filename );
void _LoadPluginsFromPath( const std::string& path );
void _UpdateLoadedPlugins( );
void _LoadWorkspace( const std::string& filename );
void _SaveWorkspace( const std::string& filename );
+ void _ShowData(
+ const std::string& filter_name, const std::string& output_name
+ );
+ void _HideData(
+ const std::string& filter_name, const std::string& output_name
+ );
+ void _DataProperties(
+ const std::string& filter_name, const std::string& output_name
+ );
+ void _BackgroundProperties( unsigned int i );
+
protected slots:
void _InteractiveLoadPlugins( );
void _InteractiveLoadPluginsFromPath( );
protected:
QApplication* m_Application;
_TBlocker m_Blocker;
- Workspace m_Workspace;
- Interface m_Interface;
std::string m_PluginsPath;
+ std::string m_ApplicationPath;
+
+ cpPlugins::Interface* m_Interface;
+ cpPlugins::Workspace* m_Workspace;
QTreeWidget* m_TreeWidget;
- cpPipelineEditor::Editor* m_Editor;
+ Editor* m_Editor;
+ cpExtensions::QT::SimpleMPRWidget* m_MPR;
};
} // ecapseman
-#endif // cpPlugins_QT4
-
-#endif // __CPPLUGINS__BASEQTMAINWINDOW__H__
+#endif // __CPPIPELINEEDITOR__BASEQTMAINWINDOW__H__
// eof - $RCSfile$