mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-16 04:10:32 +05:00
Add references into SMESH dialogs to corresponding help pages.
This commit is contained in:
parent
06069def2c
commit
6e2ea154e8
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "SUIT_FileDlg.h"
|
||||
#include "SUIT_MessageBox.h"
|
||||
|
||||
#include "SalomeApp_Application.h"
|
||||
#include "LightApp_Application.h"
|
||||
|
||||
// QT Includes
|
||||
#include <qapplication.h>
|
||||
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <SUIT_Session.h>
|
||||
#include <SUIT_MessageBox.h>
|
||||
|
||||
#include <SalomeApp_Application.h>
|
||||
#include <LightApp_Application.h>
|
||||
|
||||
#include <qframe.h>
|
||||
#include <qlayout.h>
|
||||
@ -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<SMESHGUI*>( app->activeModule() );
|
||||
app->onHelpContextModule(aSMESHGUI ? app->moduleName(aSMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <SMESHGUI_Dialog.h>
|
||||
|
||||
#include <SalomeApp_Study.h>
|
||||
#include <SalomeApp_Application.h>
|
||||
#include <LightApp_Application.h>
|
||||
|
||||
#include <SUIT_Session.h>
|
||||
#include <SUIT_MessageBox.h>
|
||||
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user