X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FQT%2FConfigurationChooser.cxx;fp=lib%2FcpExtensions%2FQT%2FConfigurationChooser.cxx;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=00c121b2162124cbf17e62c237d0e11de61a9246;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/QT/ConfigurationChooser.cxx b/lib/cpExtensions/QT/ConfigurationChooser.cxx deleted file mode 100644 index 00c121b..0000000 --- a/lib/cpExtensions/QT/ConfigurationChooser.cxx +++ /dev/null @@ -1,51 +0,0 @@ -#include -#include -#include -#include - -// ------------------------------------------------------------------------- -cpExtensions::QT::ConfigurationChooser:: -ConfigurationChooser( QWidget* parent, Qt::WindowFlags f ) - : Superclass( parent, f ), - m_UI( new Ui::ConfigurationChooser ), - m_Data( NULL ) -{ - this->m_UI->setupUi( this ); -} - -// ------------------------------------------------------------------------- -cpExtensions::QT::ConfigurationChooser:: -~ConfigurationChooser( ) -{ - delete this->m_UI; -} - -// ------------------------------------------------------------------------- -void cpExtensions::QT::ConfigurationChooser:: -setData( ActorsWidgetInterface* data ) -{ - this->m_Data = data; - if( this->m_Data != NULL ) - { - auto actors = this->m_Data->GetActorsNames( ); - for( auto n = actors.begin( ); n != actors.end( ); ++n ) - { - if( this->m_Data->IsWindowLevelImageActor( *n ) ) - { - auto wl_wdg = new WindowLevelImageConfiguration( this ); - wl_wdg->setData( data, *n ); - this->m_UI->Configurations->addTab( wl_wdg, n->c_str( ) ); - } - else if( this->m_Data->IsLUTImageActor( *n ) ) - { - } - else if( this->m_Data->Is3DActor( *n ) ) - { - } // fi - - } // rof - - } // fi -} - -// eof - $RCSfile$