1 #ifndef __cpExtensions__QT__WindowLevelImageConfiguration__h__
2 #define __cpExtensions__QT__WindowLevelImageConfiguration__h__
4 #include <cpExtensions/Config.h>
6 #ifdef cpExtensions_QT4
10 // -------------------------------------------------------------------------
11 namespace Ui { class WindowLevelImageConfiguration; }
13 // -------------------------------------------------------------------------
14 namespace cpExtensions
18 class ActorsWidgetInterface;
22 class cpExtensions_EXPORT WindowLevelImageConfiguration
28 typedef WindowLevelImageConfiguration Self;
29 typedef QWidget Superclass;
32 explicit WindowLevelImageConfiguration(
33 QWidget* parent = NULL, Qt::WindowFlags f = 0
35 virtual ~WindowLevelImageConfiguration( );
37 void setData( ActorsWidgetInterface* data, const std::string& name );
40 void _maximumValue( int v );
41 void _minimumValue( int v );
42 void _levelValue( int v );
43 void _windowValue( int v );
44 void _opacityValue( int v );
45 void _interpolatorValue( int v );
48 Ui::WindowLevelImageConfiguration* m_UI;
49 ActorsWidgetInterface* m_Data;
57 #endif // cpExtensions_QT4
59 #endif // __cpExtensions__QT__WindowLevelImageConfiguration__h__