]> Creatis software - cpPlugins.git/blob - lib/cpExtensions/QT/WindowLevelImageConfiguration.h
Architecture updated.
[cpPlugins.git] / lib / cpExtensions / QT / WindowLevelImageConfiguration.h
1 #ifndef __cpExtensions__QT__WindowLevelImageConfiguration__h__
2 #define __cpExtensions__QT__WindowLevelImageConfiguration__h__
3
4 #include <cpExtensions/Config.h>
5
6 #ifdef cpExtensions_QT4
7
8 #include <QWidget>
9
10 // -------------------------------------------------------------------------
11 namespace Ui { class WindowLevelImageConfiguration; }
12
13 // -------------------------------------------------------------------------
14 namespace cpExtensions
15 {
16   namespace QT
17   {
18     class SimpleMPRWidget;
19
20     /**
21      */
22     class cpExtensions_EXPORT WindowLevelImageConfiguration
23       : public QWidget
24     {
25       Q_OBJECT;
26
27     public:
28       typedef WindowLevelImageConfiguration Self;
29       typedef QWidget                       Superclass;
30
31     public:
32       explicit WindowLevelImageConfiguration( QWidget* parent = NULL, Qt::WindowFlags f = 0 );
33       virtual ~WindowLevelImageConfiguration( );
34
35       void setData( SimpleMPRWidget* data );
36
37     protected slots:
38       void _maximumValue( int v );
39       void _minimumValue( int v );
40       void _levelValue( int v );
41       void _windowValue( int v );
42       void _opacityValue( int v );
43       void _interpolatorValue( int v );
44
45     protected:
46       Ui::WindowLevelImageConfiguration* m_UI;
47       SimpleMPRWidget* m_Data;
48     };
49
50   } // ecapseman
51
52 } // ecapseman
53
54 #endif // cpExtensions_QT4
55
56 #endif // __cpExtensions__QT__WindowLevelImageConfiguration__h__
57
58 // eof - $RCSfile$