);
virtual ~MainWindow( );
- /* TODO
- void updateEnvironment( );
- void updateFilter( const std::string& name );
- void showData( const std::string& name, const std::string& port );
- void showData(
- cpPlugins::BaseObjects::DataObject* data, const std::string& name
- );
- void hideData( const std::string& name, const std::string& port );
- void hideData( const std::string& name );
- void dataProperties( const std::string& name, const std::string& port );
- void dataProperties( const std::string& name );
- */
-
TWorkspace* workspace( const std::string& wname );
const TWorkspace* workspace( const std::string& wname ) const;
const cpExtensions::QT::ActorsWidgetInterface* viewer( ) const;
void setViewer( cpExtensions::QT::ActorsWidgetInterface* v );
- /* TODO
- protected:
- void _configure( PluginsNavigator* nav, TMPR* mpr, Editor* edt );
- void _updatePlugins( );
- */
+ protected:
+ template< class _TViewer >
+ _TViewer* _configureViewer( QWidget* w )
+ {
+ _TViewer* v = dynamic_cast< _TViewer* >( w );
+ if( v == NULL )
+ v = new _TViewer( );
+ return( v );
+ }
protected slots:
void _loadPlugins( const std::string& filename );
void _loadWorkspace( const std::string& fname );
void _loadWorkspace( );
- /* TODO
- void _loadWorkspace( const std::string& filename );
- void _loadWorkspace( );
- void _saveWorkspace( const std::string& filename );
- void _saveWorkspace( );
- void _showPlugins( );
- void _addEnvironmentPaths( const std::string& envs );
- void _addEnvironmentPaths( );
- void _actorsProperties( );
- */
-
- /* TODO
- void _ClearWorkspace( );
- void _LoadPlugins( const std::string& filename );
- void _LoadPluginsFromPath( const std::string& path );
-
- void _LoadWorkspace( const std::string& filename );
- void _SaveWorkspace( const std::string& filename );
-
- void _BackgroundProperties( unsigned int i );
- void _DataProperties( const std::string& actor );
-
- void _AddEnviromentPaths( );
- void _LoadPlugins( );
- void _LoadPluginsFromPath( );
- void _ShowPlugins( );
- void _LoadWorkspace( );
- void _SaveWorkspace( );
- void _DataProperties(
- const std::string& filter_name, const std::string& output_name
- );
- */
+ void _actorsProperties( );
protected:
Blocker m_Blocker;