Commit e89d27e8 authored by Hung Dang-Quoc's avatar Hung Dang-Quoc
Browse files

Merge branch 'top2021s5/usablity_loadingbar_for_module_status' into 'sprint_5'

[MERGE] Loadingbar for module status while preparing FilterProtonDataModule

See merge request top/21s/sivert-vis/sivert-vis-project!81
parents 148b6096 daffd834
...@@ -78,6 +78,9 @@ void WMFilterProtonData::moduleMain() ...@@ -78,6 +78,9 @@ void WMFilterProtonData::moduleMain()
continue; continue;
} }
boost::shared_ptr< WProgress > progressBar( new WProgress( "Preparing..." ) );
m_progress->addSubProgress( progressBar );
if( m_protonData == NULL ) if( m_protonData == NULL )
{ {
m_protonData = WProtonData::SPtr( new WProtonData( m_input->getData()->getHeader(), m_input->getData()->getData() ) ); m_protonData = WProtonData::SPtr( new WProtonData( m_input->getData()->getHeader(), m_input->getData()->getData() ) );
...@@ -114,6 +117,8 @@ void WMFilterProtonData::moduleMain() ...@@ -114,6 +117,8 @@ void WMFilterProtonData::moduleMain()
setToLoadedProperties(); setToLoadedProperties();
setOutputFromCSV( ); setOutputFromCSV( );
progressBar->finish();
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment