X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_ListView.h;h=8c12aacf3cc31b37f6f08420e0efa437e1ff35ca;hb=1dfcab3d738e427bea678317e167c587dfbff195;hp=9fdc540adccb7de0cbb856d30ddd964f89b9b26d;hpb=ac000140b0fc26efd98d737ff5456a11ea0d6fdc;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_ListView.h b/src/ModuleBase/ModuleBase_ListView.h index 9fdc540ad..8c12aacf3 100644 --- a/src/ModuleBase/ModuleBase_ListView.h +++ b/src/ModuleBase/ModuleBase_ListView.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2020 CEA/DEN, 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 @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef ModuleBase_ListView_H_ @@ -119,6 +118,10 @@ public: /// \param theIndices an output container for indices void getSelectedIndices(std::set& theIndices); + /// Selects items with indices + /// \param theIndices indices + void selectIndices(const std::set& theIndices); + /// Removes selected items from the list widget void removeSelectedItems();