]> Creatis software - cpPlugins.git/blob - lib/ivq/Qt/DicomSeriesSelectorDialog.cxx
...
[cpPlugins.git] / lib / ivq / Qt / DicomSeriesSelectorDialog.cxx
1 /* =======================================================================
2  * @author: Leonardo Florez-Valencia
3  * @email: florez-l@javeriana.edu.co
4  * =======================================================================
5  */
6
7 #include <ivq/Qt/DicomSeriesSelectorDialog.h>
8 #include <ivq/ui_DicomSeriesSelectorDialog.h>
9
10 // -------------------------------------------------------------------------
11 ivq::Qt::DicomSeriesSelectorDialog::
12 DicomSeriesSelectorDialog( QWidget* parent )
13   : QDialog( parent ),
14     m_UI( new Ui::DicomSeriesSelectorDialog )
15 {
16   this->m_UI->setupUi( this );
17   this->setWindowTitle( "Choose DICOM series" );
18 }
19
20 // -------------------------------------------------------------------------
21 ivq::Qt::DicomSeriesSelectorDialog::
22 ~DicomSeriesSelectorDialog( )
23 {
24   delete this->m_UI;
25 }
26
27 // -------------------------------------------------------------------------
28 void ivq::Qt::DicomSeriesSelectorDialog::
29 setStartDir( const std::string& dir )
30 {
31   this->m_UI->Selector->setStartDir( dir.c_str( ), true );
32 }
33
34 // -------------------------------------------------------------------------
35 std::vector< std::string >* ivq::Qt::DicomSeriesSelectorDialog::
36 selectedFilenames( )
37 {
38   return( this->m_UI->Selector->selectedFilenames( ) );
39 }
40
41 // eof - $RCSfile$