X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_GroupOpDlg.cxx;h=cf5df457683ba3f314c507b57fd33a83665d001b;hp=b4084b6655b391f4cf23e1a6d91dbff3b7e09e78;hb=d9f4b53e489dd5857db264ede6acded7b076c9f1;hpb=d5029840731bccaa1718e65f0abf3b19198c7293 diff --git a/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx index b4084b665..cf5df4576 100644 --- a/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -482,7 +482,7 @@ void SMESHGUI_GroupOpDlg::setVisible( bool visible ) } /*! - \brief SLOT called when dialog must be deativated + \brief SLOT called when dialog must be deactivated */ void SMESHGUI_GroupOpDlg::onDeactivate() { @@ -510,7 +510,7 @@ void SMESHGUI_GroupOpDlg::enterEvent(QEvent*) /*! \brief Resets state of the dialog, initializes its fields with default value, etc. Usually called by onApply() slot to reinitialize dialog fields. This virtual method - should be redefined in derived class to update its own fileds + should be redefined in derived class to update its own fields */ void SMESHGUI_GroupOpDlg::reset() { @@ -596,7 +596,7 @@ SMESHGUI_UnionGroupsDlg::SMESHGUI_UnionGroupsDlg( SMESHGUI* theModule ) : SMESHGUI_GroupOpDlg( theModule ) { setWindowTitle(tr("UNION_OF_GROUPS")); - setHelpFileName( "using_operations_on_groups_page.html#union_anchor" ); + setHelpFileName( "using_operations_on_groups.html#union-anchor" ); QGroupBox* anArgGrp = getArgGrp(); myListWg = new QListWidget( anArgGrp ); @@ -652,7 +652,7 @@ bool SMESHGUI_UnionGroupsDlg::onApply() { SMESH::ListOfGroups_var aList = convert( myGroups ); SMESH::SMESH_Group_var aNewGrp = - aMesh->UnionListOfGroups( aList, aName.toLatin1().constData() ); + aMesh->UnionListOfGroups( aList, aName.toUtf8().constData() ); if ( !CORBA::is_nil( aNewGrp ) ) { aNewGrp->SetColor( getColor() ); @@ -705,7 +705,7 @@ SMESHGUI_IntersectGroupsDlg::SMESHGUI_IntersectGroupsDlg( SMESHGUI* theModule ) : SMESHGUI_GroupOpDlg( theModule ) { setWindowTitle(tr("INTERSECTION_OF_GROUPS")); - setHelpFileName( "using_operations_on_groups_page.html#intersection_anchor" ); + setHelpFileName( "using_operations_on_groups.html#intersection-anchor" ); QGroupBox* anArgGrp = getArgGrp(); myListWg = new QListWidget( anArgGrp ); @@ -761,7 +761,7 @@ bool SMESHGUI_IntersectGroupsDlg::onApply() { SMESH::ListOfGroups_var aList = convert( myGroups ); SMESH::SMESH_Group_var aNewGrp = - aMesh->IntersectListOfGroups( aList, aName.toLatin1().constData() ); + aMesh->IntersectListOfGroups( aList, aName.toUtf8().constData() ); if ( !CORBA::is_nil( aNewGrp ) ) { aNewGrp->SetColor( getColor() ); @@ -814,7 +814,7 @@ SMESHGUI_CutGroupsDlg::SMESHGUI_CutGroupsDlg( SMESHGUI* theModule ) : SMESHGUI_GroupOpDlg( theModule ) { setWindowTitle(tr("CUT_OF_GROUPS")); - setHelpFileName( "using_operations_on_groups_page.html#cut_anchor" ); + setHelpFileName( "using_operations_on_groups.html#cut-anchor" ); QGroupBox* anArgGrp = getArgGrp(); @@ -934,7 +934,7 @@ bool SMESHGUI_CutGroupsDlg::onApply() SMESH::ListOfGroups_var aList1 = convert( myGroups1 ); SMESH::ListOfGroups_var aList2 = convert( myGroups2 ); SMESH::SMESH_Group_var aNewGrp = - aMesh->CutListOfGroups( aList1, aList2, aName.toLatin1().constData() ); + aMesh->CutListOfGroups( aList1, aList2, aName.toUtf8().constData() ); if ( !CORBA::is_nil( aNewGrp ) ) { aNewGrp->SetColor( getColor() ); @@ -996,7 +996,7 @@ SMESHGUI_DimGroupDlg::SMESHGUI_DimGroupDlg( SMESHGUI* theModule ) : SMESHGUI_GroupOpDlg( theModule ) { setWindowTitle( tr( "CREATE_GROUP_OF_UNDERLYING_ELEMS" ) ); - setHelpFileName( "group_of_underlying_elements_page.html" ); + setHelpFileName( "group_of_underlying_elements.html" ); QGroupBox* anArgGrp = getArgGrp(); @@ -1120,7 +1120,7 @@ bool SMESHGUI_DimGroupDlg::onApply() (SMESH::NB_COMMON_NODES_ENUM) myNbNoCombo->currentIndex(); SMESH::SMESH_Group_var aNewGrp = - aMesh->CreateDimGroup( aList, anElemType, aName.toLatin1().constData(), + aMesh->CreateDimGroup( aList, anElemType, aName.toUtf8().constData(), aNbCoNodes, myUnderlOnlyChk->isChecked() ); if ( !CORBA::is_nil( aNewGrp ) ) {