Salome HOME
0022777: [CEA 1291] Display the name of an object in the 3D View
[modules/geom.git] / src / EntityGUI / EntityGUI_IsolineDlg.cxx
index bfd01773cf00975b6779a69a9f89affa41caa266..366e425a1cc1be9f444bcebdfa04aad84403c4ab 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -281,3 +281,14 @@ void EntityGUI_IsolineDlg::ValueChangedInSpinBox(double newValue)
 {
   displayPreview(true);
 }
+
+//=================================================================================
+// function : getSourceObjects
+// purpose  : virtual method to get source objects
+//=================================================================================
+QList<GEOM::GeomObjPtr> EntityGUI_IsolineDlg::getSourceObjects()
+{
+  QList<GEOM::GeomObjPtr> res;
+  res << myFace;
+  return res;
+}