Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update viewer on delete an item
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_WidgetPoint2d.h
diff --git
a/src/PartSet/PartSet_WidgetPoint2d.h
b/src/PartSet/PartSet_WidgetPoint2d.h
old mode 100755
(executable)
new mode 100644
(file)
index
bfc060b
..
515a03c
--- a/
src/PartSet/PartSet_WidgetPoint2d.h
+++ b/
src/PartSet/PartSet_WidgetPoint2d.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
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
//
// 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
//
// 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<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef PartSet_WidgetPoint2D_H
//
#ifndef PartSet_WidgetPoint2D_H
@@
-69,9
+68,9
@@
Q_OBJECT
virtual ~PartSet_WidgetPoint2D();
/// Fills given container with selection modes if the widget has it
virtual ~PartSet_WidgetPoint2D();
/// Fills given container with selection modes if the widget has it
+ /// \param [out] theModuleSelectionModes module additional modes, -1 means all default modes
/// \param theModes [out] a container of modes
/// \param theModes [out] a container of modes
- /// \param isAdditional if true, the modes are combinated with the module ones
- virtual void selectionModes(QIntList& theModes, bool& isAdditional);
+ virtual void selectionModes(int& theModuleSelectionModes, QIntList& theModes);
/// Checks if the selection presentation is valid in widget
/// \param theValue a selected presentation in the view
/// Checks if the selection presentation is valid in widget
/// \param theValue a selected presentation in the view
@@
-159,6
+158,10
@@
Q_OBJECT
std::shared_ptr<ModelAPI_Object>& theObject,
std::shared_ptr<GeomAPI_Shape>& theShape);
std::shared_ptr<ModelAPI_Object>& theObject,
std::shared_ptr<GeomAPI_Shape>& theShape);
+ /// Return reference to external objects manager
+ /// \return manager instance
+ PartSet_ExternalObjectsMgr* getExternalObjectMgr() const { return myExternalObjectMgr; }
+
signals:
/// Signal about selection of an existing vertex from an object
void vertexSelected();
signals:
/// Signal about selection of an existing vertex from an object
void vertexSelected();