]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/QT/WindowLevelImageConfiguration.h
...
[cpPlugins.git] / lib / cpExtensions / QT / WindowLevelImageConfiguration.h
index 665e741e8c87c9616e2b2dc617f30bfbb15c5eaa..1725253cb1bc787609e9e8ea4c874b1f2835495e 100644 (file)
@@ -2,9 +2,6 @@
 #define __cpExtensions__QT__WindowLevelImageConfiguration__h__
 
 #include <cpExtensions/Config.h>
-
-#ifdef cpExtensions_QT4
-
 #include <QWidget>
 
 // -------------------------------------------------------------------------
@@ -15,7 +12,7 @@ namespace cpExtensions
 {
   namespace QT
   {
-    class SimpleMPRWidget;
+    class ActorsWidgetInterface;
 
     /**
      */
@@ -34,7 +31,7 @@ namespace cpExtensions
         );
       virtual ~WindowLevelImageConfiguration( );
 
-      void setData( SimpleMPRWidget* data );
+      void setData( ActorsWidgetInterface* data, const std::string& name );
 
     protected slots:
       void _maximumValue( int v );
@@ -46,15 +43,14 @@ namespace cpExtensions
 
     protected:
       Ui::WindowLevelImageConfiguration* m_UI;
-      SimpleMPRWidget* m_Data;
+      ActorsWidgetInterface* m_Data;
+      std::string m_Name;
     };
 
   } // ecapseman
 
 } // ecapseman
 
-#endif // cpExtensions_QT4
-
 #endif // __cpExtensions__QT__WindowLevelImageConfiguration__h__
 
 // eof - $RCSfile$