#include #ifdef cpExtensions_QT4 #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( SimpleMPRWidget* data ) { this->m_Data = data; if( this->m_Data != NULL ) { auto wl_wdg = new WindowLevelImageConfiguration( this ); wl_wdg->setData( data ); this->m_UI->Configurations->addTab( wl_wdg, "Image" ); } // fi } #endif // cpExtensions_QT4 // eof - $RCSfile$