// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// class : BlocksGUI_ExplodeDlg()
// purpose : Constructs a BlocksGUI_ExplodeDlg which is a child of 'parent'.
//=================================================================================
-BlocksGUI_ExplodeDlg::BlocksGUI_ExplodeDlg (QWidget* parent,
- bool modal)
- : GEOMBase_Skeleton(parent, "ExplodeDlg", modal,
+BlocksGUI_ExplodeDlg::BlocksGUI_ExplodeDlg (GeometryGUI* theGeometryGUI, QWidget* parent, bool modal)
+ : GEOMBase_Skeleton(theGeometryGUI, parent, "ExplodeDlg", modal,
WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
{
QPixmap image1 (SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM",tr("ICON_DLG_BLOCK_EXPLODE")));
Layout1->addWidget(myGrp1, 1, 0);
/***************************************************************/
+ setHelpFileName("explode_on_blocks_operation_page.html");
+
Init();
}
ObjectList toRemoveFromEnggine;
ObjectList::iterator anIter;
for (anIter = myTmpObjs.begin(); anIter != myTmpObjs.end(); ++anIter) {
- if (selected.contains(myGeomGUI->getApp()->orb()->object_to_string(*anIter)))
+ CORBA::String_var objStr = myGeomGUI->getApp()->orb()->object_to_string(*anIter);
+ if (selected.contains(QString(objStr.in())))
objects.push_back(*anIter);
else
toRemoveFromEnggine.push_back(*anIter);