Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.h
index 8ecc3090578579e3b14afbb7f86578e2e617ee39..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