#include <QMessageBox>
#include <cpExtensions/QT/SimpleMPRWidget.h>
+#include <cpExtensions/QT/ConfigurationChooser.h>
#include <vtkDataSet.h>
// Get the plugins interface
this->m_Plugins = TPlugins::New( );
try { this->m_Plugins->AddEnvironments( env.str( ) ); } catch( ... ) { }
- try { this->m_Plugins->OpenEnvironments( env.str( ) ); } catch( ... ) { }
- try { this->m_Plugins->SaveEnvironments( this->m_RunPath ); } catch( ... ) { }
+ try { this->m_Plugins->LoadPaths( this->m_RunPath ); } catch( ... ) { }
this->updateEnvironment( );
+ try { this->m_Plugins->SavePaths( this->m_RunPath ); } catch( ... ) { }
// Create local workspace
this->m_Workspace = TWorkspace::New( );
_addEnvironmentPaths( const std::string& envs )
{
try { this->m_Plugins->AddEnvironments( envs ); } catch( ... ) { }
- try { this->m_Plugins->SaveEnvironments( this->m_RunPath ); } catch( ... ) { }
+ try { this->m_Plugins->SavePaths( this->m_RunPath ); } catch( ... ) { }
this->updateEnvironment( );
this->_updatePlugins( );
}
this->_loadPluginsFromPath( d.selectedFiles( ).begin( )->toStdString( ) );
}
+// -------------------------------------------------------------------------
+void cpBaseQtApplication::MainWindow::
+_actorsProperties( )
+{
+ if( this->m_MPR != NULL )
+ {
+ auto dlg = new cpExtensions::QT::ConfigurationChooser( this );
+ dlg->setData( this->m_MPR );
+ dlg->exec( );
+
+ } // fi
+}
+
// -------------------------------------------------------------------------
/* TODO
void cpBaseQtApplication::MainWindow::