Salome HOME
refs #1832
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.h
index ba0f8ba5457a41d081dae1951d0127947e00a1f2..116a351dab38b4b56e2dbec65c6f569f81f37128 100644 (file)
@@ -29,6 +29,7 @@
 #include <LightApp_Application.h>
 #include <QEvent>
 #include <QStack>
+#include <HYDROGUI_DataObject.h>
 
 #ifdef WIN32
   #pragma warning ( default: 4251 )
@@ -163,6 +164,8 @@ public:
 
   virtual void                    preferencesChanged( const QString&, const QString& );
 
+  void                            resetViewState();
+
   /** 
    * Set IsToUpdate flag for all presentations of the given object to recompute them during 
    * the next viewer(s) updating.
@@ -222,6 +225,13 @@ public:
 
   void                            clearCache();
 
+  bool isDraggable( const SUIT_DataObject* what ) const;
+
+  bool isDropAccepted( const SUIT_DataObject* where ) const;
+
+  void dropObjects( const DataObjectList& what, SUIT_DataObject* where,
+                    const int row, Qt::DropAction action );
+
   /**
    * Returns Strickler table used for Land Cover scalar map coloring in the given view.
    * @param theViewId the view id
@@ -263,7 +273,8 @@ public:
 
 protected:
   CAM_DataModel*                  createDataModel();
-
+  void                            setAutoZoomToAllViewManagers(bool bAutoZoom);
+  void                            setAutoZoom(SUIT_ViewManager* aVMgr, bool bAutoZoom);
 public slots:
   virtual bool                    activateModule( SUIT_Study* );
   virtual bool                    deactivateModule( SUIT_Study* );