Salome HOME
updated copyright message
[modules/geom.git] / src / EntityGUI / EntityGUI_IsolineDlg.cxx
old mode 100755 (executable)
new mode 100644 (file)
index bfd0177..3e26264
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  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
 #include <SalomeApp_Application.h>
 #include <LightApp_SelectionMgr.h>
 
+#include <QButtonGroup>
 
 //=================================================================================
 // class    : EntityGUI_IsolineDlg
-// purpose  : 
+// purpose  :
 //=================================================================================
 EntityGUI_IsolineDlg::EntityGUI_IsolineDlg (GeometryGUI     *theGeometryGUI,
                                             QWidget         *parent,
@@ -83,7 +84,7 @@ EntityGUI_IsolineDlg::EntityGUI_IsolineDlg (GeometryGUI     *theGeometryGUI,
 
 //=================================================================================
 // function : ~EntityGUI_IsolineDlg()
-// purpose  : 
+// purpose  :
 //=================================================================================
 EntityGUI_IsolineDlg::~EntityGUI_IsolineDlg()
 {
@@ -190,14 +191,14 @@ void EntityGUI_IsolineDlg::TypeChanged(int)
 //=================================================================================
 GEOM::GEOM_IOperations_ptr EntityGUI_IsolineDlg::createOperation()
 {
-  return myGeomGUI->GetGeomGen()->GetICurvesOperations( getStudyId() );
+  return myGeomGUI->GetGeomGen()->GetICurvesOperations();
 }
 
 //=================================================================================
 // function : isValid
 // purpose  :
 //=================================================================================
-bool EntityGUI_IsolineDlg::isValid (QString& msg)
+bool EntityGUI_IsolineDlg::isValid (QString& /*msg*/)
 {
   return myFace;
 }
@@ -277,7 +278,18 @@ void EntityGUI_IsolineDlg::SetEditFace()
 // function : ValueChangedInSpinBox
 // purpose  :
 //=================================================================================
-void EntityGUI_IsolineDlg::ValueChangedInSpinBox(double newValue)
+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;
+}