X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_Zone.h;h=4dca40d27ad013e3688e77c4101a0e7cc9323145;hb=5cae7e874afd2fc1b6f61023e8ebd33a933db3c7;hp=2b1f08fdd04b1563e2c2265b9b44a6754276be1e;hpb=0c76593b1d11353467fe978da4ad99549c59899e;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Zone.h b/src/HYDROGUI/HYDROGUI_Zone.h index 2b1f08fd..4dca40d2 100644 --- a/src/HYDROGUI/HYDROGUI_Zone.h +++ b/src/HYDROGUI/HYDROGUI_Zone.h @@ -58,7 +58,12 @@ public: /** * Returns the color for the specified column. */ - QColor color( const ColorRole, const int = NameId ) const override; + QColor color( const ColorRole theColorRole, const int theColumnId = NameId ) const override; + + /** + * Return true because zones are draggable. + */ + bool isDraggable() const override { return true; } /** * Returns true if it is a zone which needs merge of bathymetries.