]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for IPAL12072 : Help button in Mesh module not work in following dialog boxes.
authormkr <mkr@opencascade.com>
Tue, 11 Apr 2006 08:42:15 +0000 (08:42 +0000)
committermkr <mkr@opencascade.com>
Tue, 11 Apr 2006 08:42:15 +0000 (08:42 +0000)
src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx
src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx
src/SMESHGUI/SMESHGUI_GroupDlg.cxx
src/SMESHGUI/SMESHGUI_MeshInfosDlg.cxx

index beeadb654b263781b36352c33bf5209433b7f2e3..5a8f950a7310deb0432e4475b4bafdae2d363282 100644 (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();
 }
index 3d599ac3cdd6857ebeb1f7217febaeb3f69ff9a7..6ba65dd80b96ecad43c2693f326c9eb96dc12295 100644 (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
 }
index 898fbf6a8b9ea8138ed8f74c65ee33fa4c719698..90906b5fb14b77ba1ac9bfb70aae871caf8ca6b0 100644 (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);
 
index a5c5dc3a94d48d04851e41d94a632854332da79b..d9fb08d3bb4f6e42a26804951323e9e5b2e22eb1 100644 (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";
 }
 
 //=================================================================================