Salome HOME
Fix for the bug #45: check and warning when the same image is used in 2 arguments.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.h
index 384e5e714de7933809ae3ad24234158b589c152f..dc1e7cbc24122262c43fe051787cf3e3f11290b4 100644 (file)
@@ -143,9 +143,25 @@ public:
   void                            removeViewVTKPrs( const int                      theViewId );
   void                            removeObjectVTKPrs( const int                      theViewId,
                                                      const Handle(HYDROData_Entity)& theObject );
+  /**
+   * Update global imposed range of Z values for the given VTK viewer id
+   */
+  void                            updateVTKZRange( const int theViewId, double theRange[] );
 
   QStringList                     GetGeomObjectsToImport();
 
+  /**
+   * Returns true if the object with the given entry can be renamed.
+   * @param theEntry the object entry
+   */
+  virtual bool                    renameAllowed( const QString& theEntry ) const;
+  /**
+   * Returns true if the object with the given entry is renamed.
+   * @param theEntry the object entry
+   * @param theName the new name
+   */
+  virtual bool                    renameObject( const QString& theEntry, const QString& theName );
+
 protected:
   CAM_DataModel*                  createDataModel();
 
@@ -177,6 +193,8 @@ protected slots:
   void                            onExternalOperationFinished( const QString&, const QString&, 
                                                                const QStringList& );
 
+  void                            onMouseMove( SUIT_ViewWindow*, QMouseEvent* );
+
 private:
   void                            updateViewer( HYDROGUI_AbstractDisplayer* theDisplayer, 
                                                 const bool theIsInit = false,