X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_Module.h;h=1b3523f17cb2c2c82add42cd6cc831ed856e5ba6;hb=39a306b77b32044c89bf6cef4445d5bfdea43149;hp=3798c08d62a01fea7729a6b25c898e1291286927;hpb=6d82c67bb96ee104ec85352ee42662841f5804b6;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Module.h b/src/HYDROGUI/HYDROGUI_Module.h index 3798c08d..1b3523f1 100644 --- a/src/HYDROGUI/HYDROGUI_Module.h +++ b/src/HYDROGUI/HYDROGUI_Module.h @@ -21,13 +21,19 @@ #include -#include +#ifdef WIN32 + #pragma warning ( disable: 4251 ) +#endif +#include #include #include -class QGraphicsSceneMouseEvent; +#ifdef WIN32 + #pragma warning ( default: 4251 ) +#endif +class QGraphicsSceneMouseEvent; class GraphicsView_Viewer; class OCCViewer_Viewer; class SVTK_Viewer; @@ -151,6 +157,9 @@ public: 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. @@ -208,6 +217,8 @@ public: */ QCursor getPrefEditCursor() const; + void clearCache(); + /** * Returns Strickler table used for Land Cover scalar map coloring in the given view. * @param theViewId the view id @@ -236,6 +247,12 @@ public: */ bool isLandCoversScalarMapModeOn( const int theViewId ) const; + /** + * Set object as removed. + * @param theObject the removed object + */ + void setObjectRemoved( const Handle(HYDROData_Entity)& theObject ); + protected: CAM_DataModel* createDataModel();