]> Creatis software - cpPlugins.git/blob - lib/cpExtensions/QT/DicomSeriesSelectorWidget.h
b30df8e2cd83ec54bfd36e56ed13629a52442820
[cpPlugins.git] / lib / cpExtensions / QT / DicomSeriesSelectorWidget.h
1 #ifndef __CPEXTENSIONS__QT__DICOMSERIESSELECTORWIDGET__H__
2 #define __CPEXTENSIONS__QT__DICOMSERIESSELECTORWIDGET__H__
3
4 #include <cpExtensions/Config.h>
5
6 #ifdef cpExtensions_QT4
7
8 #include <QWidget>
9
10 // -------------------------------------------------------------------------
11 namespace Ui
12 {
13   class DicomSeriesSelectorWidget;
14 }
15
16 // -------------------------------------------------------------------------
17 namespace cpExtensions
18 {
19   namespace QT
20   {
21     /**
22      */
23     class cpExtensions_EXPORT DicomSeriesSelectorWidget
24       : public QWidget
25     {
26       Q_OBJECT;
27
28     public:
29       typedef DicomSeriesSelectorWidget Self;
30
31     public:
32       explicit DicomSeriesSelectorWidget( QWidget* parent = 0 );
33       virtual ~DicomSeriesSelectorWidget( );
34
35       QString startDir( ) const;
36       void setStartDir( const QString& dir, bool build = true );
37
38       std::vector< std::string > selectedFilenames( );
39
40     protected slots:
41       void _Choose( );
42
43     protected:
44       Ui::DicomSeriesSelectorWidget* m_UI;
45     };
46
47   } // ecapseman
48
49 } // ecapseman
50
51 #endif // cpExtensions_QT4
52
53 #endif // __CPEXTENSIONS__QT__DICOMSERIESSELECTORWIDGET__H__
54
55 // eof - $RCSfile$