X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_Tool.h;h=4ea4039edd77b2fec67829cf454ccb8205fad0db;hb=a53349567d67f4df0ef737798a25c24d9dc8f08e;hp=1a9100b130226ef928354c2b2f1f0c500540ce29;hpb=abab708d83b68396ab353ff300f2185297597178;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Tool.h b/src/HYDROGUI/HYDROGUI_Tool.h index 1a9100b1..4ea4039e 100644 --- a/src/HYDROGUI/HYDROGUI_Tool.h +++ b/src/HYDROGUI/HYDROGUI_Tool.h @@ -1,8 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either @@ -176,16 +172,7 @@ public: * \return object kind */ static ObjectKind GetSelectedPartition( HYDROGUI_Module* theModule ); - - /** - * \brief Get the selected GEOM objects. - * \param theModule module - * \param theTypes the acceptable GEOM object types - * \return list of GEOM objects entries - */ - static QStringList GetSelectedGeomObjects( HYDROGUI_Module* theModule, - QList theTypes ); - + /** * \brief Find the data object with the specified name. * \param theModule module @@ -353,6 +340,22 @@ public: * \return Image_PixMap object */ static Handle(Image_PixMap) Pixmap( const QImage& theImage ); + + /** + * \brief Get the selected GEOM objects. + * \param theModule the module + * \param theTypes the acceptable GEOM object types + * \return list of GEOM objects entries + */ + static QStringList GetSelectedGeomObjects( HYDROGUI_Module* theModule, + QList theTypes ); + + /** + * \brief Delete the GEOM objects. + * \param theModule the module + * \param theEntries the GEOM objects entries + */ + static void DeleteGeomObjects( HYDROGUI_Module* theModule, const QStringList& theEntries ); }; #endif