Update Help references (bug 17577)

This commit is contained in:
jfa 2007-11-20 12:14:55 +00:00
parent a0a93a5e5d
commit d2bb955929
36 changed files with 64 additions and 64 deletions

View File

@ -249,32 +249,32 @@ SMESHGUI_AddMeshElementDlg::SMESHGUI_AddMeshElementDlg( SMESHGUI* theModule,
QString elemName;
if (myNbNodes == 2) {
elemName = "EDGE";
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_edges";
myHelpFileName = "adding_nodes_and_elements_page.html#adding_edges_anchor";
}
else if (myNbNodes == 3) {
elemName = "TRIANGLE";
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_triangles";
myHelpFileName = "adding_nodes_and_elements_page.html#adding_triangles_anchor";
}
else if (myNbNodes == 4)
if (myElementType == SMDSAbs_Face) {
elemName = "QUADRANGLE";
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_quadrangles";
myHelpFileName = "adding_nodes_and_elements_page.html#adding_quadrangles_anchor";
}
else {
elemName = "TETRAS";
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_tetrahedrons";
myHelpFileName = "adding_nodes_and_elements_page.html#adding_tetrahedrons_anchor";
}
else if (myNbNodes == 8) {
elemName = "HEXAS";
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_hexahedrons";
myHelpFileName = "adding_nodes_and_elements_page.html#adding_hexahedrons_anchor";
}
else if (myElementType == SMDSAbs_Face) {
elemName = "POLYGON";
myIsPoly = true;
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_polygons";
myHelpFileName = "adding_nodes_and_elements_page.html#adding_polygons_anchor";
}
else if (myElementType == SMDSAbs_Volume) {
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_polyhedrons";
myHelpFileName = "adding_nodes_and_elements_page.html#adding_polyhedrons_anchor";
}
QString iconName = tr(QString("ICON_DLG_%1").arg(elemName));

View File

@ -498,37 +498,37 @@ void SMESHGUI_AddQuadraticElementDlg::Init()
case QUAD_EDGE:
aNumRows = 1;
myNbCorners = 2;
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_edges
myHelpFileName = "adding_quadratic_elements_page.html#?"; //Adding_edges
break;
case QUAD_TRIANGLE:
aNumRows = 3;
myNbCorners = 3;
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_triangles
myHelpFileName = "adding_quadratic_elements_page.html#?"; //Adding_triangles
break;
case QUAD_QUADRANGLE:
aNumRows = 4;
myNbCorners = 4;
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_quadrangles
myHelpFileName = "adding_quadratic_elements_page.html#?"; //Adding_quadrangles
break;
case QUAD_TETRAHEDRON:
aNumRows = 6;
myNbCorners = 4;
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_tetrahedrons
myHelpFileName = "adding_quadratic_elements_page.html#?"; //Adding_tetrahedrons
break;
case QUAD_PYRAMID:
aNumRows = 8;
myNbCorners = 5;
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_pyramids
myHelpFileName = "adding_quadratic_elements_page.html#?"; //Adding_pyramids
break;
case QUAD_PENTAHEDRON:
aNumRows = 9;
myNbCorners = 6;
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_pentahedrons
myHelpFileName = "adding_quadratic_elements_page.html#?"; //Adding_pentahedrons
break;
case QUAD_HEXAHEDRON:
aNumRows = 12;
myNbCorners = 8;
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_hexahedrons
myHelpFileName = "adding_quadratic_elements_page.html#?"; //Adding_hexahedrons
break;
}

View File

@ -196,7 +196,7 @@ SMESHGUI_BuildCompoundDlg::SMESHGUI_BuildCompoundDlg( SMESHGUI* theModule)
GroupButtonsLayout->addWidget(buttonOk, 0, 0);
SMESHGUI_BuildCompoundDlgLayout->addWidget(GroupButtons, 3, 0);
myHelpFileName = "building_compounds.htm";
myHelpFileName = "building_compounds_page.html";
Init(); // Initialisations
}

View File

@ -350,7 +350,7 @@ SMESHGUI_ClippingDlg::SMESHGUI_ClippingDlg (SMESHGUI* theModule,
myIsSelectPlane = false;
onSelectionChanged();
myHelpFileName = "clipping.htm";
myHelpFileName = "clipping_page.html";
// signals and slots connections :
connect(ComboBoxPlanes, SIGNAL(activated(int)), this, SLOT(onSelectPlane(int)));

View File

@ -759,7 +759,7 @@ SMESHGUI_ComputeOp::SMESHGUI_ComputeOp()
{
myDlg = new SMESHGUI_ComputeDlg;
myTShapeDisplayer = new TShapeDisplayer();
myHelpFileName = "/files/about_meshes.htm";
myHelpFileName = "about_meshes_page.html";
// connect signals and slots
connect(myDlg->myShowBtn, SIGNAL (clicked()), SLOT(onPreviewShape()));

View File

@ -95,7 +95,7 @@ void SMESHGUI_ConvToQuadOp::startOperation()
}
connect( myDlg, SIGNAL( onClicked( int ) ), SLOT( ConnectRadioButtons( int ) ) );
myHelpFileName = "/files/convert_to_from_quadratic.htm";
myHelpFileName = "convert_to_from_quadratic_mesh_page.html";
SMESHGUI_SelectionOp::startOperation();

View File

@ -108,7 +108,7 @@ SMESHGUI_CreatePatternDlg::SMESHGUI_CreatePatternDlg( SMESHGUI* theModule,
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
mySelector = aViewWindow->GetSelector();
myHelpFileName = "pattern_mapping.htm";
myHelpFileName = "pattern_mapping_page.html";
Init(theType);
}

View File

@ -325,7 +325,7 @@ SMESHGUI_CreatePolyhedralVolumeDlg::SMESHGUI_CreatePolyhedralVolumeDlg( SMESHGUI
mySMESHGUI->SetActiveDialogBox( (QDialog*)this ) ;
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_polyhedrons";
myHelpFileName = "adding_nodes_and_elements_page.html#adding_polyhedrons_anchor";
Init();
}

View File

@ -93,7 +93,7 @@ SMESHGUI_DeleteGroupDlg::SMESHGUI_DeleteGroupDlg (SMESHGUI* theModule):
aDlgLay->setStretchFactor(aMainFrame, 1);
myHelpFileName = "deleting_groups.htm";
myHelpFileName = "deleting_groups_page.html";
Init();
}

View File

@ -567,7 +567,7 @@ void SMESHGUI_EditMeshDlg::Init()
GroupCoincident->setTitle(tr("COINCIDENT_ELEMENTS"));
}
myHelpFileName = "merge_elements.htm";
myHelpFileName = "merging_elements_page.html";
}
//=================================================================================

View File

@ -346,7 +346,7 @@ SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg( SMESHGUI* theMod
myElementsFilter = new SMESH_LogicalFilter (aListOfFilters, SMESH_LogicalFilter::LO_OR);
myPathMeshFilter = new SMESH_TypeFilter (MESH);
myHelpFileName = "extrusion_along_a_path.htm";
myHelpFileName = "extrusion_along_path_page.html";
Init();

View File

@ -260,7 +260,7 @@ SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg (SMESHGUI* theModule,
myMeshOrSubMeshOrGroupFilter =
new SMESH_LogicalFilter (aListOfFilters, SMESH_LogicalFilter::LO_OR);
myHelpFileName = "extrusion.htm";
myHelpFileName = "extrusion_page.html";
Init();

View File

@ -1708,7 +1708,7 @@ void SMESHGUI_FilterDlg::construct (const QValueList<int>& theTypes)
aDlgLay->setStretchFactor(myMainFrame, 1);
myHelpFileName = "selection_filter_library.htm";
myHelpFileName = "selection_filter_library_page.html";
Init(myTypes);
}

View File

@ -147,7 +147,7 @@ void SMESHGUI_FilterLibraryDlg::construct (const QValueList<int>& theTypes,
aDlgLay->setStretchFactor(myMainFrame, 1);
myHelpFileName = "selection_filter_library.htm";
myHelpFileName = "selection_filter_library_page.html";
Init(myTypes, myMode);
}

View File

@ -165,11 +165,11 @@ void SMESHGUI_GroupDlg::initDialog(bool create)
if (create) {
setCaption(tr("SMESH_CREATE_GROUP_TITLE"));
myHelpFileName = "/files/creating_groups.htm";
myHelpFileName = "creating_groups_page.html";
}
else {
setCaption(tr("SMESH_EDIT_GROUP_TITLE"));
myHelpFileName = "/files/editing_groups.htm";
myHelpFileName = "editing_groups_page.html";
}
setSizeGripEnabled(TRUE);

View File

@ -78,15 +78,15 @@ SMESHGUI_GroupOpDlg::SMESHGUI_GroupOpDlg( SMESHGUI* theModule, const int theMode
if (myMode == UNION) {
setCaption(tr("UNION_OF_TWO_GROUPS"));
myHelpFileName = "/files/using_operations_on_groups.htm#Union";
myHelpFileName = "using_operations_on_groups_page.html#union_anchor";
}
else if (myMode == INTERSECT) {
setCaption(tr("INTERSECTION_OF_TWO_GROUPS"));
myHelpFileName = "/files/using_operations_on_groups.htm#Intersection";
myHelpFileName = "using_operations_on_groups_page.html#intersection_anchor";
}
else {
setCaption(tr("CUT_OF_TWO_GROUPS"));
myHelpFileName = "/files/using_operations_on_groups.htm#Cut";
myHelpFileName = "using_operations_on_groups_page.html#cut_anchor";
}
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();

View File

@ -414,21 +414,21 @@ SMESHGUI_HypothesisDlg::SMESHGUI_HypothesisDlg( SMESHGUI_GenericHypothesisCreato
QString aHypType = creator->hypType();
if ( aHypType == "LocalLength" )
myHelpFileName = "/files/arithmetic_1d.htm#Average_length";
myHelpFileName = "a1d_meshing_hypo_page.html#average_length_anchor";
else if ( aHypType == "Arithmetic1D")
myHelpFileName = "/files/arithmetic_1d.htm#arithmetic_1D";
myHelpFileName = "a1d_meshing_hypo_page.html#arithmetic_1d_anchor";
else if ( aHypType == "MaxElementArea")
myHelpFileName = "/files/max._element_area_hypothesis.htm";
myHelpFileName = "a2d_meshing_hypo_page.html#max_element_area_anchor";
else if ( aHypType == "MaxElementVolume")
myHelpFileName = "/files/max._element_volume_hypothsis.htm";
myHelpFileName = "max_element_volume_hypo_page.html";
else if ( aHypType == "StartEndLength")
myHelpFileName = "/files/arithmetic_1d.htm#start_and_end_length";
myHelpFileName = "a1d_meshing_hypo_page.html#start_and_end_length_anchor";
else if ( aHypType == "Deflection1D")
myHelpFileName = "/files/arithmetic_1d.htm#deflection_1D";
myHelpFileName = "a1d_meshing_hypo_page.html#deflection_1d_anchor";
else if ( aHypType == "AutomaticLength")
myHelpFileName = "/files/arithmetic_1d.htm#automatic_length";
myHelpFileName = "a1d_meshing_hypo_page.html#automatic_length_anchor";
else if ( aHypType == "NumberOfSegments")
myHelpFileName = "/files/arithmetic_1d.htm#Number_of_elements";
myHelpFileName = "a1d_meshing_hypo_page.html#number_of_segments_anchor";
else
myHelpFileName = "";

View File

@ -308,7 +308,7 @@ SMESHGUI_MergeNodesDlg::SMESHGUI_MergeNodesDlg( SMESHGUI* theModule, const char*
// Init Mesh field from selection
SelectionIntoArgument();
myHelpFileName = "/files/merging_nodes.htm";
myHelpFileName = "merging_nodes_page.html";
}
//=================================================================================

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 = "mesh_infos_page.html#advanced_mesh_infos_anchor";
}
//=================================================================================

View File

@ -216,9 +216,9 @@ void SMESHGUI_MeshOp::startOperation()
connect( myDlg, SIGNAL( geomSelectionByMesh( bool )), SLOT( onGeomSelectionByMesh( bool )));
if ( myToCreate )
if ( myIsMesh ) myHelpFileName = "/files/constructing_meshes.htm";
else myHelpFileName = "/files/constructing_submeshes.htm";
else myHelpFileName = "files/reassigning_hypotheses_and_algorithms.htm";
if ( myIsMesh ) myHelpFileName = "constructing_meshes_page.html";
else myHelpFileName = "constructing_submeshes_page.html";
else myHelpFileName = "editing_meshes_page.html";
}
SMESHGUI_SelectionOp::startOperation();

View File

@ -132,7 +132,7 @@ SMESHGUI_MeshPatternDlg::SMESHGUI_MeshPatternDlg( SMESHGUI* theModule,
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();
myHelpFileName = "pattern_mapping.htm";
myHelpFileName = "pattern_mapping_page.html";
Init();
}

View File

@ -118,7 +118,7 @@ SMESHGUI_MoveNodesDlg::SMESHGUI_MoveNodesDlg (SMESHGUI* theModule,
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();
myHelpFileName = "/files/displacing_nodes.htm";
myHelpFileName = "moving_nodes_page.html";
Init();
}

View File

@ -1080,7 +1080,7 @@ SMESHGUI_ChangeOrientationDlg
SMESHGUI_MultiEditDlg(theModule, SMESHGUI_FaceFilter, true, theName)
{
setCaption(tr("CAPTION"));
myHelpFileName = "/files/changing_orientation_of_elements.htm";
myHelpFileName = "changing_orientation_of_elements_page.html";
}
SMESHGUI_ChangeOrientationDlg::~SMESHGUI_ChangeOrientationDlg()
@ -1120,7 +1120,7 @@ SMESHGUI_UnionOfTrianglesDlg
myCriterionGrp->show();
myHelpFileName = "/files/uniting_a_set_of_triangles.htm";
myHelpFileName = "uniting_set_of_triangles_page.html";
}
SMESHGUI_UnionOfTrianglesDlg::~SMESHGUI_UnionOfTrianglesDlg()
@ -1160,7 +1160,7 @@ SMESHGUI_CuttingOfQuadsDlg
connect(myComboBoxFunctor, SIGNAL(activated(int)) , this, SLOT(onPreviewChk()));
connect(this , SIGNAL(ListContensChanged()), this, SLOT(onPreviewChk()));
myHelpFileName = "/files/cutting_quadrangles.htm";
myHelpFileName = "cutting_quadrangles_page.html";
}
SMESHGUI_CuttingOfQuadsDlg::~SMESHGUI_CuttingOfQuadsDlg()

View File

@ -339,7 +339,7 @@ SMESHGUI_NodesDlg::SMESHGUI_NodesDlg (SMESHGUI* theModule,
SMESHGUI_NodesDlgLayout->addWidget(GroupCoordinates, 1, 0);
myHelpFileName = "/files/adding_nodes_and_elements.htm#Adding_nodes";
myHelpFileName = "adding_nodes_and_elements_page.html#adding_nodes_anchor";
/* Initialisation and display */
Init();

View File

@ -186,7 +186,7 @@ SMESHGUI_RemoveElementsDlg
GroupC1Layout->addWidget(LineEditC1A1, 0, 2);
SMESHGUI_RemoveElementsDlgLayout->addWidget(GroupC1, 1, 0);
myHelpFileName = "/files/removing_nodes_and_elements.htm#remove_an_element";
myHelpFileName = "removing_nodes_and_elements_page.html#removing_elements_anchor";
Init(); /* Initialisations */
}

View File

@ -186,7 +186,7 @@ SMESHGUI_RemoveNodesDlg
GroupC1Layout->addWidget(LineEditC1A1, 0, 2);
SMESHGUI_RemoveNodesDlgLayout->addWidget(GroupC1, 1, 0);
myHelpFileName = "/files/removing_nodes_and_elements.htm#remove_a_node";
myHelpFileName = "removing_nodes_and_elements_page.html#removing_nodes_anchor";
Init(); /* Initialisations */
}

View File

@ -99,11 +99,11 @@ SMESHGUI_RenumberingDlg::SMESHGUI_RenumberingDlg( SMESHGUI* theModule, const cha
GroupConstructors = new QButtonGroup(this, "GroupConstructors");
if (unit == 0) {
GroupConstructors->setTitle(tr("SMESH_NODES" ));
myHelpFileName = "/files/renumbering_nodes_and_elements.htm#renumber_nodes";
myHelpFileName = "renumbering_nodes_and_elements_page.html#renumbering_nodes_anchor";
}
else if (unit == 1) {
GroupConstructors->setTitle(tr("SMESH_ELEMENTS" ));
myHelpFileName = "/files/renumbering_nodes_and_elements.htm#renumber_elements";
myHelpFileName = "renumbering_nodes_and_elements_page.html#renumbering_elements_anchor";
}
GroupConstructors->setExclusive(TRUE);
GroupConstructors->setColumnLayout(0, Qt::Vertical);

View File

@ -332,7 +332,7 @@ SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg( SMESHGUI* theModule, const char*
myMeshOrSubMeshOrGroupFilter =
new SMESH_LogicalFilter (aListOfFilters, SMESH_LogicalFilter::LO_OR);
myHelpFileName = "revolution.htm";
myHelpFileName = "revolution_page.html";
Init();

View File

@ -318,7 +318,7 @@ SMESHGUI_RotationDlg::SMESHGUI_RotationDlg( SMESHGUI* theModule, const char* nam
myMeshOrSubMeshOrGroupFilter =
new SMESH_LogicalFilter (aListOfFilters, SMESH_LogicalFilter::LO_OR);
myHelpFileName = "/files/rotation.htm";
myHelpFileName = "rotation_page.html";
Init();

View File

@ -297,7 +297,7 @@ SMESHGUI_SewingDlg::SMESHGUI_SewingDlg( SMESHGUI* theModule, const char* name,
mySMESHGUI->SetActiveDialogBox((QDialog*)this);
myHelpFileName = "/files/sewing_meshes.htm";
myHelpFileName = "sewing_meshes_page.html";
Init();

View File

@ -570,7 +570,7 @@ SMESHGUI_TrianglesInversionDlg
: SMESHGUI_SingleEditDlg(theModule,theName)
{
setCaption(tr("CAPTION"));
myHelpFileName = "/files/diagonal_iversion_of_elements.htm";
myHelpFileName = "diagonal_inversion_of_elements_page.html";
}
SMESHGUI_TrianglesInversionDlg::~SMESHGUI_TrianglesInversionDlg()
@ -595,7 +595,7 @@ SMESHGUI_UnionOfTwoTrianglesDlg
: SMESHGUI_SingleEditDlg(theModule,theName)
{
setCaption(tr("CAPTION"));
myHelpFileName = "/files/uniting_two_triangles.htm";
myHelpFileName = "uniting_two_triangles_page.html";
}
SMESHGUI_UnionOfTwoTrianglesDlg::~SMESHGUI_UnionOfTwoTrianglesDlg()

View File

@ -275,7 +275,7 @@ SMESHGUI_SmoothingDlg::SMESHGUI_SmoothingDlg( SMESHGUI* theModule, const char* n
myMeshOrSubMeshOrGroupFilter =
new SMESH_LogicalFilter (aListOfFilters, SMESH_LogicalFilter::LO_OR);
myHelpFileName = "/files/smoothing.htm";
myHelpFileName = "smoothing_page.html";
Init();

View File

@ -178,7 +178,7 @@ SMESHGUI_StandardMeshInfosDlg::SMESHGUI_StandardMeshInfosDlg( SMESHGUI* theModul
mySelectionMgr->installFilter(myMeshFilter);
onSelectionChanged();
myHelpFileName = "/files/viewing_mesh_info.htm#standard_infos";
myHelpFileName = "mesh_infos_page.html#standard_mesh_infos_anchor";
}
//=================================================================================

View File

@ -310,7 +310,7 @@ SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg( SMESHGUI* theModule, const char* nam
myMeshOrSubMeshOrGroupFilter =
new SMESH_LogicalFilter (aListOfFilters, SMESH_LogicalFilter::LO_OR);
myHelpFileName = "/files/symmetry.htm";
myHelpFileName = "symmetry_page.html";
Init();

View File

@ -293,7 +293,7 @@ SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg( SMESHGUI* theModule, const cha
myMeshOrSubMeshOrGroupFilter =
new SMESH_LogicalFilter(aListOfFilters, SMESH_LogicalFilter::LO_OR);
myHelpFileName = "/files/translation.htm";
myHelpFileName = "translation_page.html";
Init();

View File

@ -156,7 +156,7 @@ SMESHGUI_TransparencyDlg::SMESHGUI_TransparencyDlg( SMESHGUI* theModule,
connect(mySMESHGUI, SIGNAL (SignalCloseAllDialogs()), this, SLOT(ClickOnOk()));
connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(onSelectionChanged()));
myHelpFileName = "transparency.htm";
myHelpFileName = "transparency_page.html";
this->show();
}