Salome HOME
improvement to call destructor of SelectFiled and SelectParams classes
[modules/filter.git] / src / FILTERGUI / SelectParams.h
index b5aa01c54fa20b83f530cf6844e4f50e997377a1..6ac7ba529b79e3b6ea55242b7bc036f3486d32f7 100644 (file)
@@ -29,6 +29,7 @@
 #include <vector>
 #include <SalomeApp_Module.h>
 #include <SUIT_Desktop.h>
+#include <qdialog.h>
 
 #include <SALOMEconfig.h>
 /* #include CORBA_CLIENT_HEADER(MED_Gen) */
@@ -42,17 +43,19 @@ class QPushButton;
 class QGroupBox;
 class QFrame;
 
-class SelectParams: public QObject
+class SelectParams: public QDialog
 {
   Q_OBJECT
 
 public:
-  SelectParams(SelectField *sel);
+  SelectParams(FilterGUI*,SelectField *sel,
+              const char* name = 0,
+              bool modal = FALSE,
+              WFlags fl = 0);
   virtual ~SelectParams();
 
-  virtual QFrame*  buildFrame();
-
 protected:
+  virtual void     buildFrame();
   virtual void     calcHisto();
   virtual void     displayHisto();
   virtual void     calcRateRed();