Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_BathymetryOp.h
index 7855f84f6658c89a00aeedef0c08a0be15a9414a..8f388862fae5f84e75673e0c8279b01db8f91723 100644 (file)
 #define HYDROGUI_BATHYMETRY_OP_H
 
 #include <HYDROGUI_Operation.h>
+#include <QDialog>
+
+class OCCViewer_ViewWindow;
+class QtxDoubleSpinBox;
 
 class HYDROGUI_BathymetryOp : public HYDROGUI_Operation
 {
@@ -30,12 +34,37 @@ public:
   HYDROGUI_BathymetryOp( HYDROGUI_Module* theModule, int theMode );
   virtual ~HYDROGUI_BathymetryOp();
 
+  void activate( bool );
+
 protected:
   virtual void startOperation();
+  virtual void commitOperation();
   virtual void abortOperation();
 
+  OCCViewer_ViewWindow* activeViewWindow() const;
+
+protected slots:
+  void onSelectionChanged();
+
 private:
   int myMode;
+  bool myIsActivate;
+};
+
+
+class HYDROGUI_BathymetryLimitsDlg : public QDialog
+{
+public:
+  HYDROGUI_BathymetryLimitsDlg( QWidget* theParent );
+  virtual ~HYDROGUI_BathymetryLimitsDlg();
+
+  double GetMin() const;
+  double GetMax() const;
+  void SetMinMax( double, double );
+
+private:
+  QtxDoubleSpinBox* myMin;
+  QtxDoubleSpinBox* myMax;
 };
 
 #endif