X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FEntityGUI%2FEntityGUI_IsolineDlg.cxx;h=3e26264c30a648d25b12839d4cd21d173c2f78f7;hb=c1d63ef1f803d255b61ee99fb618bf471add07f4;hp=bfd01773cf00975b6779a69a9f89affa41caa266;hpb=7d880c6a8262b6d670ed70ee2b9ec25c199a46d4;p=modules%2Fgeom.git diff --git a/src/EntityGUI/EntityGUI_IsolineDlg.cxx b/src/EntityGUI/EntityGUI_IsolineDlg.cxx old mode 100755 new mode 100644 index bfd01773c..3e26264c3 --- a/src/EntityGUI/EntityGUI_IsolineDlg.cxx +++ b/src/EntityGUI/EntityGUI_IsolineDlg.cxx @@ -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 @@ -30,10 +30,11 @@ #include #include +#include //================================================================================= // 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 EntityGUI_IsolineDlg::getSourceObjects() +{ + QList res; + res << myFace; + return res; +}