Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial merge of branch 'BR_HYDRO_IMPS_2016' into BR_PORTING_OCCT_7
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_Module.h
diff --git
a/src/HYDROGUI/HYDROGUI_Module.h
b/src/HYDROGUI/HYDROGUI_Module.h
index 3798c08d62a01fea7729a6b25c898e1291286927..2e62e5081b5ee87f1358736728b65e353f29e1a1 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_Module.h
+++ b/
src/HYDROGUI/HYDROGUI_Module.h
@@
-21,13
+21,19
@@
#include <HYDROData_Entity.h>
#include <HYDROData_Entity.h>
-#include <LightApp_Module.h>
+#ifdef WIN32
+ #pragma warning ( disable: 4251 )
+#endif
+#include <LightApp_Module.h>
#include <QEvent>
#include <QStack>
#include <QEvent>
#include <QStack>
-class QGraphicsSceneMouseEvent;
+#ifdef WIN32
+ #pragma warning ( default: 4251 )
+#endif
+class QGraphicsSceneMouseEvent;
class GraphicsView_Viewer;
class OCCViewer_Viewer;
class SVTK_Viewer;
class GraphicsView_Viewer;
class OCCViewer_Viewer;
class SVTK_Viewer;
@@
-35,7
+41,7
@@
class SVTK_Viewer;
class SUIT_ViewWindow;
class SUIT_ViewManager;
class SUIT_ViewWindow;
class SUIT_ViewManager;
-class H
andle(HYDROData_StricklerTable)
;
+class H
YDROData_StricklerTable
;
class HYDROGUI_DataModel;
class HYDROGUI_Displayer;
class HYDROGUI_DataModel;
class HYDROGUI_Displayer;
@@
-151,6
+157,9
@@
public:
void setObjectVisible( const int theViewId,
const Handle(HYDROData_Entity)& theObject,
const bool theState );
void setObjectVisible( const int theViewId,
const Handle(HYDROData_Entity)& theObject,
const bool theState );
+
+ virtual void preferencesChanged( const QString&, const QString& );
+
/**
* Set IsToUpdate flag for all presentations of the given object to recompute them during
* the next viewer(s) updating.
/**
* Set IsToUpdate flag for all presentations of the given object to recompute them during
* the next viewer(s) updating.
@@
-208,6
+217,8
@@
public:
*/
QCursor getPrefEditCursor() const;
*/
QCursor getPrefEditCursor() const;
+ void clearCache();
+
/**
* Returns Strickler table used for Land Cover scalar map coloring in the given view.
* @param theViewId the view id
/**
* Returns Strickler table used for Land Cover scalar map coloring in the given view.
* @param theViewId the view id
@@
-236,6
+247,14
@@
public:
*/
bool isLandCoversScalarMapModeOn( const int theViewId ) const;
*/
bool isLandCoversScalarMapModeOn( const int theViewId ) const;
+ /**
+ * Set object as removed.
+ * @param theObject the removed object
+ */
+ void setObjectRemoved( const Handle(HYDROData_Entity)& theObject );
+
+ void enableLCMActions();
+
protected:
CAM_DataModel* createDataModel();
protected:
CAM_DataModel* createDataModel();