From: mkr Date: Tue, 28 Mar 2006 08:35:10 +0000 (+0000) Subject: Add references into SMESH dialogs to corresponding help pages. X-Git-Tag: T3_2_0b1_pre1~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6e2ea154e8db269a13b156de4e5b68afce1a79cd;p=modules%2Fsmesh.git Add references into SMESH dialogs to corresponding help pages. --- diff --git a/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx b/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx index 94878a048..dcd66f976 100644 --- a/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.cxx @@ -40,6 +40,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" +#include "LightApp_Application.h" #include "SVTK_Selection.h" #include "SVTK_Selector.h" @@ -530,7 +531,7 @@ void SMESHGUI_AddMeshElementDlg::ClickOnCancel() //================================================================================= void SMESHGUI_AddMeshElementDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx b/src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx index f21d81fd2..5e10e5a80 100644 --- a/src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx @@ -12,6 +12,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" +#include "LightApp_Application.h" #include "SVTK_Selection.h" #include "SVTK_Selector.h" @@ -466,37 +467,37 @@ void SMESHGUI_AddQuadraticElementDlg::Init() case QUAD_EDGE: aNumRows = 1; myNbCorners = 2; - myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_edges + myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_edges break; case QUAD_TRIANGLE: aNumRows = 3; myNbCorners = 3; - myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_triangles + myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_triangles break; case QUAD_QUADRANGLE: aNumRows = 4; myNbCorners = 4; - myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_quadrangles + myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_quadrangles break; case QUAD_TETRAHEDRON: aNumRows = 6; myNbCorners = 4; - myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_tetrahedrons + myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_tetrahedrons break; case QUAD_PYRAMID: aNumRows = 8; myNbCorners = 5; - myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; + myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_pyramids break; case QUAD_PENTAHEDRON: aNumRows = 9; myNbCorners = 6; - myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; + myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_pentahedrons break; case QUAD_HEXAHEDRON: aNumRows = 12; myNbCorners = 8; - myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_hexahedrons + myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_hexahedrons break; } @@ -660,7 +661,7 @@ void SMESHGUI_AddQuadraticElementDlg::ClickOnCancel() //================================================================================= void SMESHGUI_AddQuadraticElementDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx b/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx index da3ed99ca..37679438c 100644 --- a/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx @@ -43,7 +43,7 @@ #include "SALOME_InteractiveObject.hxx" #include "SALOME_ListIteratorOfListIO.hxx" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "LightApp_SelectionMgr.h" #include "SVTK_Selector.h" @@ -439,7 +439,7 @@ void SMESHGUI_ClippingDlg::ClickOnCancel() //================================================================================= void SMESHGUI_ClippingDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx b/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx index 3c9ab54a2..5545054d9 100755 --- a/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_CreatePatternDlg.cxx @@ -43,8 +43,8 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" #include "SalomeApp_Study.h" +#include "LightApp_Application.h" #include "LightApp_DataOwner.h" #include "LightApp_SelectionMgr.h" #include "SalomeApp_Tools.h" @@ -477,7 +477,7 @@ void SMESHGUI_CreatePatternDlg::onClose() //================================================================================= void SMESHGUI_CreatePatternDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx index 3c90bdf4b..f65c2394c 100644 --- a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx @@ -47,6 +47,7 @@ #include "SalomeApp_Study.h" #include "SUIT_Desktop.h" #include "SUIT_MessageBox.h" +#include "LightApp_Application.h" #include "LightApp_SelectionMgr.h" #include "utilities.h" @@ -576,7 +577,7 @@ void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnCancel() //================================================================================= void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.cxx b/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.cxx index eb6892d6a..69723cca2 100644 --- a/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.cxx @@ -38,7 +38,7 @@ #include "SUIT_MessageBox.h" #include "SalomeApp_Study.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "LightApp_SelectionMgr.h" #include "SALOME_ListIO.hxx" @@ -255,7 +255,7 @@ void SMESHGUI_DeleteGroupDlg::onClose() //================================================================================= void SMESHGUI_DeleteGroupDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx b/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx index 46279b662..3d599ac3c 100644 --- a/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx @@ -30,7 +30,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SALOME_ListIO.hxx" @@ -258,7 +258,7 @@ void SMESHGUI_EditMeshDlg::ClickOnCancel() //================================================================================= void SMESHGUI_EditMeshDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx b/src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx index 7cdd7f86a..bf2aa3306 100644 --- a/src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ExtrusionAlongPathDlg.cxx @@ -50,7 +50,7 @@ #include "SUIT_MessageBox.h" #include "SUIT_Session.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_ViewModel.h" #include "SVTK_ViewWindow.h" @@ -670,7 +670,7 @@ void SMESHGUI_ExtrusionAlongPathDlg::ClickOnOk() //================================================================================= void SMESHGUI_ExtrusionAlongPathDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx index 804daba55..16916a826 100644 --- a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx @@ -48,7 +48,7 @@ #include "SUIT_MessageBox.h" #include "SUIT_Session.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_ViewModel.h" #include "SVTK_ViewWindow.h" @@ -454,7 +454,7 @@ void SMESHGUI_ExtrusionDlg::ClickOnCancel() //================================================================================= void SMESHGUI_ExtrusionDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index eba123836..d04574b23 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -47,7 +47,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SalomeApp_Tools.h" #include "SalomeApp_Study.h" @@ -1951,7 +1951,7 @@ void SMESHGUI_FilterDlg::onClose() //================================================================================= void SMESHGUI_FilterDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx index 96fa90b06..8c9feaee0 100644 --- a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx @@ -36,7 +36,7 @@ #include "SUIT_FileDlg.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" // QT Includes #include @@ -474,7 +474,7 @@ void SMESHGUI_FilterLibraryDlg::onClose() //================================================================================= void SMESHGUI_FilterLibraryDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 5d261dbbb..56e243746 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -47,7 +47,7 @@ #include "SUIT_MessageBox.h" #include "SalomeApp_Tools.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SALOMEDSClient_Study.hxx" #include "SALOME_ListIO.hxx" #include "SALOME_ListIteratorOfListIO.hxx" @@ -1561,7 +1561,7 @@ void SMESHGUI_GroupDlg::onClose() //================================================================================= void SMESHGUI_GroupDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx index cb9272ddc..d607b9daf 100644 --- a/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx @@ -38,7 +38,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "LightApp_SelectionMgr.h" #include "SVTK_Selection.h" @@ -313,7 +313,7 @@ void SMESHGUI_GroupOpDlg::onClose() //================================================================================= void SMESHGUI_GroupOpDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index 2a115951b..5a9ce3d02 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -15,7 +15,7 @@ #include #include -#include +#include #include #include @@ -376,21 +376,21 @@ SMESHGUI_HypothesisDlg::SMESHGUI_HypothesisDlg( SMESHGUI_GenericHypothesisCreato QString aHypType = creator->hypType(); if ( aHypType == "LocalLength" ) - myHelpFileName = "/files/arithmetic_1d.htm#?"; + myHelpFileName = "/files/arithmetic_1d.htm#Average_length"; else if ( aHypType == "Arithmetic1D") - myHelpFileName = "/files/arithmetic_1d.htm#?"; + myHelpFileName = "/files/arithmetic_1d.htm#arithmetic_1D"; else if ( aHypType == "MaxElementArea") myHelpFileName = "/files/max._element_area_hypothesis.htm"; else if ( aHypType == "MaxElementVolume") myHelpFileName = "/files/max._element_volume_hypothsis.htm"; else if ( aHypType == "StartEndLength") - myHelpFileName = "/files/arithmetic_1d.htm#?"; + myHelpFileName = "/files/arithmetic_1d.htm#start_and_end_length"; else if ( aHypType == "Deflection1D") - myHelpFileName = "/files/arithmetic_1d.htm#?"; + myHelpFileName = "/files/arithmetic_1d.htm#deflection_1D"; else if ( aHypType == "AutomaticLength") - myHelpFileName = "/files/arithmetic_1d.htm#?"; + myHelpFileName = "/files/arithmetic_1d.htm#automatic_length"; else if ( aHypType == "NumberOfSegments") - myHelpFileName = "/files/arithmetic_1d.htm#?"; + myHelpFileName = "/files/arithmetic_1d.htm#Number_of_elements"; else myHelpFileName = ""; @@ -419,7 +419,7 @@ void SMESHGUI_HypothesisDlg::accept() void SMESHGUI_HypothesisDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) { SMESHGUI* aSMESHGUI = dynamic_cast( app->activeModule() ); app->onHelpContextModule(aSMESHGUI ? app->moduleName(aSMESHGUI->moduleName()) : QString(""), myHelpFileName); diff --git a/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx b/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx index d05a145d7..7378a87ce 100644 --- a/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx @@ -44,7 +44,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_ViewModel.h" #include "SVTK_ViewWindow.h" @@ -381,7 +381,7 @@ void SMESHGUI_MergeNodesDlg::ClickOnCancel() //================================================================================= void SMESHGUI_MergeNodesDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_MeshInfosDlg.cxx b/src/SMESHGUI/SMESHGUI_MeshInfosDlg.cxx index f9e959623..b5a079a95 100644 --- a/src/SMESHGUI/SMESHGUI_MeshInfosDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshInfosDlg.cxx @@ -38,7 +38,7 @@ #include "SUIT_MessageBox.h" #include "LightApp_SelectionMgr.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SALOMEDSClient_Study.hxx" #include "SALOME_ListIO.hxx" @@ -376,7 +376,7 @@ SMESHGUI_MeshInfosDlg::SMESHGUI_MeshInfosDlg (SMESHGUI* theModule, // init dialog with current selection onSelectionChanged(); - myHelpFileName = "/files/viewing_mesh_info.htm#?"; + myHelpFileName = "/files/viewing_mesh_info.htm#advanced infos"; } //================================================================================= @@ -540,7 +540,7 @@ void SMESHGUI_MeshInfosDlg::onStartSelection() //================================================================================= void SMESHGUI_MeshInfosDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx b/src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx index 45ed7b42e..129ea5431 100755 --- a/src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshPatternDlg.cxx @@ -52,7 +52,7 @@ #include "LightApp_SelectionMgr.h" #include "SalomeApp_Tools.h" #include "SalomeApp_Study.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SALOMEDS_SObject.hxx" @@ -486,7 +486,7 @@ void SMESHGUI_MeshPatternDlg::onClose() //================================================================================= void SMESHGUI_MeshPatternDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx b/src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx index e68270916..63d490242 100644 --- a/src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx @@ -40,7 +40,7 @@ #include "SMDS_MeshNode.hxx" #include "LightApp_SelectionMgr.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SUIT_ResourceMgr.h" #include "SUIT_Desktop.h" #include "SUIT_Session.h" @@ -345,7 +345,7 @@ void SMESHGUI_MoveNodesDlg::onClose() //================================================================================= void SMESHGUI_MoveNodesDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx index b01e6f074..26d6b94a3 100755 --- a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx @@ -47,7 +47,7 @@ #include "SUIT_MessageBox.h" #include "LightApp_SelectionMgr.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SALOME_ListIO.hxx" #include "SALOME_ListIteratorOfListIO.hxx" @@ -486,7 +486,7 @@ void SMESHGUI_MultiEditDlg::onClose() //================================================================================= void SMESHGUI_MultiEditDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_NodesDlg.cxx b/src/SMESHGUI/SMESHGUI_NodesDlg.cxx index 80e730659..11c4cf376 100644 --- a/src/SMESHGUI/SMESHGUI_NodesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_NodesDlg.cxx @@ -49,7 +49,7 @@ #include "SUIT_Desktop.h" #include "SalomeApp_Study.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "LightApp_SelectionMgr.h" #include "SVTK_Selector.h" @@ -489,7 +489,7 @@ void SMESHGUI_NodesDlg::ClickOnCancel() //================================================================================= void SMESHGUI_NodesDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_Operation.cxx b/src/SMESHGUI/SMESHGUI_Operation.cxx index 1002dc536..ea3a61ad1 100755 --- a/src/SMESHGUI/SMESHGUI_Operation.cxx +++ b/src/SMESHGUI/SMESHGUI_Operation.cxx @@ -13,7 +13,7 @@ #include #include -#include +#include #include #include @@ -169,7 +169,7 @@ void SMESHGUI_Operation::onCancel() //======================================================================= void SMESHGUI_Operation::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(getSMESHGUI() ? app->moduleName(getSMESHGUI()->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx b/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx index e77ede3c5..f8c97166f 100644 --- a/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx @@ -48,7 +48,7 @@ #include "SALOME_ListIO.hxx" #include "SalomeApp_Tools.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "utilities.h" // OCCT Includes @@ -184,7 +184,7 @@ SMESHGUI_RemoveElementsDlg GroupC1Layout->addWidget(LineEditC1A1, 0, 2); SMESHGUI_RemoveElementsDlgLayout->addWidget(GroupC1, 1, 0); - myHelpFileName = "/files/removing_nodes_and_elements.htm#?"; + myHelpFileName = "/files/removing_nodes_and_elements.htm#remove_an_element"; Init(); /* Initialisations */ } @@ -312,7 +312,7 @@ void SMESHGUI_RemoveElementsDlg::ClickOnCancel() //================================================================================= void SMESHGUI_RemoveElementsDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_RemoveNodesDlg.cxx b/src/SMESHGUI/SMESHGUI_RemoveNodesDlg.cxx index 8333b7ac7..ae30d1dfb 100644 --- a/src/SMESHGUI/SMESHGUI_RemoveNodesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RemoveNodesDlg.cxx @@ -42,7 +42,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_Selector.h" #include "SVTK_ViewModel.h" @@ -184,7 +184,7 @@ SMESHGUI_RemoveNodesDlg GroupC1Layout->addWidget(LineEditC1A1, 0, 2); SMESHGUI_RemoveNodesDlgLayout->addWidget(GroupC1, 1, 0); - myHelpFileName = "/files/removing_nodes_and_elements.htm#?"; + myHelpFileName = "/files/removing_nodes_and_elements.htm#remove_a_node"; Init(); /* Initialisations */ } @@ -311,7 +311,7 @@ void SMESHGUI_RemoveNodesDlg::ClickOnCancel() //================================================================================= void SMESHGUI_RemoveNodesDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_RenumberingDlg.cxx b/src/SMESHGUI/SMESHGUI_RenumberingDlg.cxx index 20573314e..117fbd49c 100644 --- a/src/SMESHGUI/SMESHGUI_RenumberingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RenumberingDlg.cxx @@ -40,7 +40,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SALOME_ListIO.hxx" @@ -97,11 +97,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#?"; + myHelpFileName = "/files/renumbering_nodes_and_elements.htm#renumber_nodes"; } else if (unit == 1) { GroupConstructors->setTitle(tr("SMESH_ELEMENTS" )); - myHelpFileName = "/files/renumbering_nodes_and_elements.htm#?"; + myHelpFileName = "/files/renumbering_nodes_and_elements.htm#renumber_elements"; } GroupConstructors->setExclusive(TRUE); GroupConstructors->setColumnLayout(0, Qt::Vertical); @@ -316,7 +316,7 @@ void SMESHGUI_RenumberingDlg::ClickOnCancel() //================================================================================= void SMESHGUI_RenumberingDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx b/src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx index 89db37b73..e56bf2560 100644 --- a/src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RevolutionDlg.cxx @@ -44,7 +44,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_ViewModel.h" #include "SVTK_ViewWindow.h" @@ -516,7 +516,7 @@ void SMESHGUI_RevolutionDlg::ClickOnCancel() //================================================================================= void SMESHGUI_RevolutionDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_RotationDlg.cxx b/src/SMESHGUI/SMESHGUI_RotationDlg.cxx index df497e63e..8e5777b7a 100644 --- a/src/SMESHGUI/SMESHGUI_RotationDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RotationDlg.cxx @@ -44,7 +44,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_ViewModel.h" #include "SVTK_ViewWindow.h" @@ -468,7 +468,7 @@ void SMESHGUI_RotationDlg::ClickOnCancel() //================================================================================= void SMESHGUI_RotationDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_SewingDlg.cxx b/src/SMESHGUI/SMESHGUI_SewingDlg.cxx index 90348da8a..30ae81d1f 100644 --- a/src/SMESHGUI/SMESHGUI_SewingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SewingDlg.cxx @@ -41,7 +41,7 @@ #include "SUIT_Desktop.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_ViewModel.h" #include "SVTK_ViewWindow.h" @@ -617,7 +617,7 @@ void SMESHGUI_SewingDlg::ClickOnCancel() //================================================================================= void SMESHGUI_SewingDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_SingleEditDlg.cxx b/src/SMESHGUI/SMESHGUI_SingleEditDlg.cxx index dc0cb1c25..26760c333 100755 --- a/src/SMESHGUI/SMESHGUI_SingleEditDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SingleEditDlg.cxx @@ -37,7 +37,7 @@ #include "SMDS_Mesh.hxx" #include "LightApp_SelectionMgr.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SUIT_ResourceMgr.h" #include "SUIT_MessageBox.h" #include "SUIT_Desktop.h" @@ -279,7 +279,7 @@ void SMESHGUI_SingleEditDlg::onClose() //================================================================================= void SMESHGUI_SingleEditDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx b/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx index 41c8c6cb2..52a1632d7 100644 --- a/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx @@ -48,7 +48,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_ViewModel.h" #include "SVTK_Selector.h" @@ -443,7 +443,7 @@ void SMESHGUI_SmoothingDlg::ClickOnCancel() //================================================================================= void SMESHGUI_SmoothingDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_StandardMeshInfosDlg.cxx b/src/SMESHGUI/SMESHGUI_StandardMeshInfosDlg.cxx index 3d0b2e0e3..edcb80f95 100644 --- a/src/SMESHGUI/SMESHGUI_StandardMeshInfosDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_StandardMeshInfosDlg.cxx @@ -43,7 +43,7 @@ #include "SUIT_OverrideCursor.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "LightApp_SelectionMgr.h" #include "SALOME_ListIO.hxx" @@ -178,7 +178,7 @@ SMESHGUI_StandardMeshInfosDlg::SMESHGUI_StandardMeshInfosDlg( SMESHGUI* theModul mySelectionMgr->installFilter(myMeshFilter); onSelectionChanged(); - myHelpFileName = "/files/viewing_mesh_info.htm#?"; + myHelpFileName = "/files/viewing_mesh_info.htm#standard_infos"; } //================================================================================= @@ -457,7 +457,7 @@ void SMESHGUI_StandardMeshInfosDlg::onStartSelection() //================================================================================= void SMESHGUI_StandardMeshInfosDlg::onHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx b/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx index df8b8089a..8616aef78 100644 --- a/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx @@ -45,7 +45,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_ViewModel.h" #include "SVTK_ViewWindow.h" @@ -532,7 +532,7 @@ void SMESHGUI_SymmetryDlg::ClickOnCancel() //================================================================================= void SMESHGUI_SymmetryDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx index 49bd76b73..967696a2a 100644 --- a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx @@ -45,7 +45,7 @@ #include "SUIT_Session.h" #include "SUIT_MessageBox.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "SVTK_ViewModel.h" #include "SVTK_Selection.h" @@ -494,7 +494,7 @@ void SMESHGUI_TranslationDlg::ClickOnCancel() //================================================================================= void SMESHGUI_TranslationDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else { diff --git a/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx b/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx index 360ed0385..2e87985de 100644 --- a/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx @@ -43,7 +43,7 @@ #include "SALOME_InteractiveObject.hxx" #include "SalomeApp_Study.h" -#include "SalomeApp_Application.h" +#include "LightApp_Application.h" #include "LightApp_SelectionMgr.h" #include "SVTK_ViewWindow.h" @@ -185,7 +185,7 @@ void SMESHGUI_TransparencyDlg::ClickOnOk() //================================================================================= void SMESHGUI_TransparencyDlg::ClickOnHelp() { - SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication()); + LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication()); if (app) app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName); else {