mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +05:00
Fix for IPAL12072 : Help button in Mesh module not work in following dialog boxes.
This commit is contained in:
parent
3035f52105
commit
62543d2d48
@ -324,7 +324,7 @@ SMESHGUI_CreatePolyhedralVolumeDlg::SMESHGUI_CreatePolyhedralVolumeDlg( SMESHGUI
|
||||
|
||||
mySMESHGUI->SetActiveDialogBox( (QDialog*)this ) ;
|
||||
|
||||
myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_polyhedrons
|
||||
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_polyhedrons?";
|
||||
|
||||
Init();
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ SMESHGUI_EditMeshDlg::SMESHGUI_EditMeshDlg (SMESHGUI* theModule,
|
||||
GroupMeshLayout->addWidget(LineEditMesh, 0, 2);
|
||||
DlgLayout->addWidget(GroupMesh, 1, 0);
|
||||
|
||||
myHelpFileName = "/files/merging_nodes.htm";// merging_elements.htm
|
||||
myHelpFileName = "merge_elements.htm";
|
||||
|
||||
Init(); // Initialisations
|
||||
}
|
||||
|
@ -135,9 +135,6 @@ SMESHGUI_GroupDlg::SMESHGUI_GroupDlg( SMESHGUI* theModule, const char* name,
|
||||
myCurrentLineEdit = myMeshGroupLine;
|
||||
setSelectionMode(5);
|
||||
}
|
||||
|
||||
bool isEditMode = !CORBA::is_nil( myGroupOnGeom );
|
||||
myHelpFileName = isEditMode ? "/files/editing_groups.htm" : "/files/creating_groups.htm";
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
@ -152,10 +149,14 @@ void SMESHGUI_GroupDlg::initDialog(bool create)
|
||||
|
||||
QPixmap image0 (SMESH::GetResourceMgr( mySMESHGUI )->loadPixmap("SMESH", tr("ICON_SELECT")));
|
||||
|
||||
if (create)
|
||||
if (create) {
|
||||
setCaption(tr("SMESH_CREATE_GROUP_TITLE"));
|
||||
else
|
||||
myHelpFileName = "/files/creating_groups.htm";
|
||||
}
|
||||
else {
|
||||
setCaption(tr("SMESH_EDIT_GROUP_TITLE"));
|
||||
myHelpFileName = "/files/editing_groups.htm";
|
||||
}
|
||||
|
||||
setSizeGripEnabled(TRUE);
|
||||
|
||||
|
@ -446,7 +446,7 @@ SMESHGUI_MeshInfosDlg::SMESHGUI_MeshInfosDlg (SMESHGUI* theModule,
|
||||
// init dialog with current selection
|
||||
onSelectionChanged();
|
||||
|
||||
myHelpFileName = "/files/viewing_mesh_info.htm#advanced infos";
|
||||
myHelpFileName = "/files/viewing_mesh_info.htm#advanced_infos";
|
||||
}
|
||||
|
||||
//=================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user