Fix for IPAL12072 : Help button in Mesh module not work in following dialog boxes.

This commit is contained in:
mkr 2006-04-11 08:42:15 +00:00
parent 3035f52105
commit 62543d2d48
4 changed files with 9 additions and 8 deletions

View File

@ -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();
}

View File

@ -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
}

View File

@ -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);

View File

@ -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";
}
//=================================================================================