mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-16 07: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_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_Selection.h"
|
#include "SVTK_Selection.h"
|
||||||
#include "SVTK_Selector.h"
|
#include "SVTK_Selector.h"
|
||||||
@ -530,7 +531,7 @@ void SMESHGUI_AddMeshElementDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_AddMeshElementDlg::ClickOnHelp()
|
void SMESHGUI_AddMeshElementDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_Selection.h"
|
#include "SVTK_Selection.h"
|
||||||
#include "SVTK_Selector.h"
|
#include "SVTK_Selector.h"
|
||||||
@ -466,37 +467,37 @@ void SMESHGUI_AddQuadraticElementDlg::Init()
|
|||||||
case QUAD_EDGE:
|
case QUAD_EDGE:
|
||||||
aNumRows = 1;
|
aNumRows = 1;
|
||||||
myNbCorners = 2;
|
myNbCorners = 2;
|
||||||
myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_edges
|
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_edges
|
||||||
break;
|
break;
|
||||||
case QUAD_TRIANGLE:
|
case QUAD_TRIANGLE:
|
||||||
aNumRows = 3;
|
aNumRows = 3;
|
||||||
myNbCorners = 3;
|
myNbCorners = 3;
|
||||||
myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_triangles
|
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_triangles
|
||||||
break;
|
break;
|
||||||
case QUAD_QUADRANGLE:
|
case QUAD_QUADRANGLE:
|
||||||
aNumRows = 4;
|
aNumRows = 4;
|
||||||
myNbCorners = 4;
|
myNbCorners = 4;
|
||||||
myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_quadrangles
|
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_quadrangles
|
||||||
break;
|
break;
|
||||||
case QUAD_TETRAHEDRON:
|
case QUAD_TETRAHEDRON:
|
||||||
aNumRows = 6;
|
aNumRows = 6;
|
||||||
myNbCorners = 4;
|
myNbCorners = 4;
|
||||||
myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_tetrahedrons
|
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_tetrahedrons
|
||||||
break;
|
break;
|
||||||
case QUAD_PYRAMID:
|
case QUAD_PYRAMID:
|
||||||
aNumRows = 8;
|
aNumRows = 8;
|
||||||
myNbCorners = 5;
|
myNbCorners = 5;
|
||||||
myHelpFileName = "/files/adding_nodes_and_elements.htm#?";
|
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_pyramids
|
||||||
break;
|
break;
|
||||||
case QUAD_PENTAHEDRON:
|
case QUAD_PENTAHEDRON:
|
||||||
aNumRows = 9;
|
aNumRows = 9;
|
||||||
myNbCorners = 6;
|
myNbCorners = 6;
|
||||||
myHelpFileName = "/files/adding_nodes_and_elements.htm#?";
|
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_pentahedrons
|
||||||
break;
|
break;
|
||||||
case QUAD_HEXAHEDRON:
|
case QUAD_HEXAHEDRON:
|
||||||
aNumRows = 12;
|
aNumRows = 12;
|
||||||
myNbCorners = 8;
|
myNbCorners = 8;
|
||||||
myHelpFileName = "/files/adding_nodes_and_elements.htm#?"; //Adding_hexahedrons
|
myHelpFileName = "/adding_quadratic_nodes_and_elements.htm#?"; //Adding_hexahedrons
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -660,7 +661,7 @@ void SMESHGUI_AddQuadraticElementDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_AddQuadraticElementDlg::ClickOnHelp()
|
void SMESHGUI_AddQuadraticElementDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
#include "SALOME_InteractiveObject.hxx"
|
#include "SALOME_InteractiveObject.hxx"
|
||||||
#include "SALOME_ListIteratorOfListIO.hxx"
|
#include "SALOME_ListIteratorOfListIO.hxx"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
|
|
||||||
#include "SVTK_Selector.h"
|
#include "SVTK_Selector.h"
|
||||||
@ -439,7 +439,7 @@ void SMESHGUI_ClippingDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_ClippingDlg::ClickOnHelp()
|
void SMESHGUI_ClippingDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -43,8 +43,8 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
|
||||||
#include "SalomeApp_Study.h"
|
#include "SalomeApp_Study.h"
|
||||||
|
#include "LightApp_Application.h"
|
||||||
#include "LightApp_DataOwner.h"
|
#include "LightApp_DataOwner.h"
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
#include "SalomeApp_Tools.h"
|
#include "SalomeApp_Tools.h"
|
||||||
@ -477,7 +477,7 @@ void SMESHGUI_CreatePatternDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_CreatePatternDlg::onHelp()
|
void SMESHGUI_CreatePatternDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
#include "SalomeApp_Study.h"
|
#include "SalomeApp_Study.h"
|
||||||
#include "SUIT_Desktop.h"
|
#include "SUIT_Desktop.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
#include "LightApp_Application.h"
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
@ -576,7 +577,7 @@ void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnHelp()
|
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Study.h"
|
#include "SalomeApp_Study.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
|
|
||||||
#include "SALOME_ListIO.hxx"
|
#include "SALOME_ListIO.hxx"
|
||||||
@ -255,7 +255,7 @@ void SMESHGUI_DeleteGroupDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_DeleteGroupDlg::onHelp()
|
void SMESHGUI_DeleteGroupDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SALOME_ListIO.hxx"
|
#include "SALOME_ListIO.hxx"
|
||||||
|
|
||||||
@ -258,7 +258,7 @@ void SMESHGUI_EditMeshDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_EditMeshDlg::ClickOnHelp()
|
void SMESHGUI_EditMeshDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
#include "SVTK_ViewWindow.h"
|
#include "SVTK_ViewWindow.h"
|
||||||
@ -670,7 +670,7 @@ void SMESHGUI_ExtrusionAlongPathDlg::ClickOnOk()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_ExtrusionAlongPathDlg::ClickOnHelp()
|
void SMESHGUI_ExtrusionAlongPathDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
#include "SVTK_ViewWindow.h"
|
#include "SVTK_ViewWindow.h"
|
||||||
@ -454,7 +454,7 @@ void SMESHGUI_ExtrusionDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_ExtrusionDlg::ClickOnHelp()
|
void SMESHGUI_ExtrusionDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "SalomeApp_Tools.h"
|
#include "SalomeApp_Tools.h"
|
||||||
#include "SalomeApp_Study.h"
|
#include "SalomeApp_Study.h"
|
||||||
|
|
||||||
@ -1951,7 +1951,7 @@ void SMESHGUI_FilterDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_FilterDlg::onHelp()
|
void SMESHGUI_FilterDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#include "SUIT_FileDlg.h"
|
#include "SUIT_FileDlg.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
// QT Includes
|
// QT Includes
|
||||||
#include <qapplication.h>
|
#include <qapplication.h>
|
||||||
@ -474,7 +474,7 @@ void SMESHGUI_FilterLibraryDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_FilterLibraryDlg::onHelp()
|
void SMESHGUI_FilterLibraryDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Tools.h"
|
#include "SalomeApp_Tools.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "SALOMEDSClient_Study.hxx"
|
#include "SALOMEDSClient_Study.hxx"
|
||||||
#include "SALOME_ListIO.hxx"
|
#include "SALOME_ListIO.hxx"
|
||||||
#include "SALOME_ListIteratorOfListIO.hxx"
|
#include "SALOME_ListIteratorOfListIO.hxx"
|
||||||
@ -1561,7 +1561,7 @@ void SMESHGUI_GroupDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_GroupDlg::onHelp()
|
void SMESHGUI_GroupDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
#include "SVTK_Selection.h"
|
#include "SVTK_Selection.h"
|
||||||
@ -313,7 +313,7 @@ void SMESHGUI_GroupOpDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_GroupOpDlg::onHelp()
|
void SMESHGUI_GroupOpDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include <SUIT_Session.h>
|
#include <SUIT_Session.h>
|
||||||
#include <SUIT_MessageBox.h>
|
#include <SUIT_MessageBox.h>
|
||||||
|
|
||||||
#include <SalomeApp_Application.h>
|
#include <LightApp_Application.h>
|
||||||
|
|
||||||
#include <qframe.h>
|
#include <qframe.h>
|
||||||
#include <qlayout.h>
|
#include <qlayout.h>
|
||||||
@ -376,21 +376,21 @@ SMESHGUI_HypothesisDlg::SMESHGUI_HypothesisDlg( SMESHGUI_GenericHypothesisCreato
|
|||||||
|
|
||||||
QString aHypType = creator->hypType();
|
QString aHypType = creator->hypType();
|
||||||
if ( aHypType == "LocalLength" )
|
if ( aHypType == "LocalLength" )
|
||||||
myHelpFileName = "/files/arithmetic_1d.htm#?";
|
myHelpFileName = "/files/arithmetic_1d.htm#Average_length";
|
||||||
else if ( aHypType == "Arithmetic1D")
|
else if ( aHypType == "Arithmetic1D")
|
||||||
myHelpFileName = "/files/arithmetic_1d.htm#?";
|
myHelpFileName = "/files/arithmetic_1d.htm#arithmetic_1D";
|
||||||
else if ( aHypType == "MaxElementArea")
|
else if ( aHypType == "MaxElementArea")
|
||||||
myHelpFileName = "/files/max._element_area_hypothesis.htm";
|
myHelpFileName = "/files/max._element_area_hypothesis.htm";
|
||||||
else if ( aHypType == "MaxElementVolume")
|
else if ( aHypType == "MaxElementVolume")
|
||||||
myHelpFileName = "/files/max._element_volume_hypothsis.htm";
|
myHelpFileName = "/files/max._element_volume_hypothsis.htm";
|
||||||
else if ( aHypType == "StartEndLength")
|
else if ( aHypType == "StartEndLength")
|
||||||
myHelpFileName = "/files/arithmetic_1d.htm#?";
|
myHelpFileName = "/files/arithmetic_1d.htm#start_and_end_length";
|
||||||
else if ( aHypType == "Deflection1D")
|
else if ( aHypType == "Deflection1D")
|
||||||
myHelpFileName = "/files/arithmetic_1d.htm#?";
|
myHelpFileName = "/files/arithmetic_1d.htm#deflection_1D";
|
||||||
else if ( aHypType == "AutomaticLength")
|
else if ( aHypType == "AutomaticLength")
|
||||||
myHelpFileName = "/files/arithmetic_1d.htm#?";
|
myHelpFileName = "/files/arithmetic_1d.htm#automatic_length";
|
||||||
else if ( aHypType == "NumberOfSegments")
|
else if ( aHypType == "NumberOfSegments")
|
||||||
myHelpFileName = "/files/arithmetic_1d.htm#?";
|
myHelpFileName = "/files/arithmetic_1d.htm#Number_of_elements";
|
||||||
else
|
else
|
||||||
myHelpFileName = "";
|
myHelpFileName = "";
|
||||||
|
|
||||||
@ -419,7 +419,7 @@ void SMESHGUI_HypothesisDlg::accept()
|
|||||||
|
|
||||||
void SMESHGUI_HypothesisDlg::onHelp()
|
void SMESHGUI_HypothesisDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app) {
|
if (app) {
|
||||||
SMESHGUI* aSMESHGUI = dynamic_cast<SMESHGUI*>( app->activeModule() );
|
SMESHGUI* aSMESHGUI = dynamic_cast<SMESHGUI*>( app->activeModule() );
|
||||||
app->onHelpContextModule(aSMESHGUI ? app->moduleName(aSMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(aSMESHGUI ? app->moduleName(aSMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
#include "SVTK_ViewWindow.h"
|
#include "SVTK_ViewWindow.h"
|
||||||
@ -381,7 +381,7 @@ void SMESHGUI_MergeNodesDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_MergeNodesDlg::ClickOnHelp()
|
void SMESHGUI_MergeNodesDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "SALOMEDSClient_Study.hxx"
|
#include "SALOMEDSClient_Study.hxx"
|
||||||
#include "SALOME_ListIO.hxx"
|
#include "SALOME_ListIO.hxx"
|
||||||
|
|
||||||
@ -376,7 +376,7 @@ SMESHGUI_MeshInfosDlg::SMESHGUI_MeshInfosDlg (SMESHGUI* theModule,
|
|||||||
// init dialog with current selection
|
// init dialog with current selection
|
||||||
onSelectionChanged();
|
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()
|
void SMESHGUI_MeshInfosDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
#include "SalomeApp_Tools.h"
|
#include "SalomeApp_Tools.h"
|
||||||
#include "SalomeApp_Study.h"
|
#include "SalomeApp_Study.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SALOMEDS_SObject.hxx"
|
#include "SALOMEDS_SObject.hxx"
|
||||||
|
|
||||||
@ -486,7 +486,7 @@ void SMESHGUI_MeshPatternDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_MeshPatternDlg::onHelp()
|
void SMESHGUI_MeshPatternDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include "SMDS_MeshNode.hxx"
|
#include "SMDS_MeshNode.hxx"
|
||||||
|
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "SUIT_ResourceMgr.h"
|
#include "SUIT_ResourceMgr.h"
|
||||||
#include "SUIT_Desktop.h"
|
#include "SUIT_Desktop.h"
|
||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
@ -345,7 +345,7 @@ void SMESHGUI_MoveNodesDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_MoveNodesDlg::onHelp()
|
void SMESHGUI_MoveNodesDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "SALOME_ListIO.hxx"
|
#include "SALOME_ListIO.hxx"
|
||||||
#include "SALOME_ListIteratorOfListIO.hxx"
|
#include "SALOME_ListIteratorOfListIO.hxx"
|
||||||
|
|
||||||
@ -486,7 +486,7 @@ void SMESHGUI_MultiEditDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_MultiEditDlg::onHelp()
|
void SMESHGUI_MultiEditDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
#include "SUIT_Desktop.h"
|
#include "SUIT_Desktop.h"
|
||||||
|
|
||||||
#include "SalomeApp_Study.h"
|
#include "SalomeApp_Study.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
|
|
||||||
#include "SVTK_Selector.h"
|
#include "SVTK_Selector.h"
|
||||||
@ -489,7 +489,7 @@ void SMESHGUI_NodesDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_NodesDlg::ClickOnHelp()
|
void SMESHGUI_NodesDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <SMESHGUI_Dialog.h>
|
#include <SMESHGUI_Dialog.h>
|
||||||
|
|
||||||
#include <SalomeApp_Study.h>
|
#include <SalomeApp_Study.h>
|
||||||
#include <SalomeApp_Application.h>
|
#include <LightApp_Application.h>
|
||||||
|
|
||||||
#include <SUIT_Session.h>
|
#include <SUIT_Session.h>
|
||||||
#include <SUIT_MessageBox.h>
|
#include <SUIT_MessageBox.h>
|
||||||
@ -169,7 +169,7 @@ void SMESHGUI_Operation::onCancel()
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
void SMESHGUI_Operation::onHelp()
|
void SMESHGUI_Operation::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(getSMESHGUI() ? app->moduleName(getSMESHGUI()->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(getSMESHGUI() ? app->moduleName(getSMESHGUI()->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
#include "SALOME_ListIO.hxx"
|
#include "SALOME_ListIO.hxx"
|
||||||
|
|
||||||
#include "SalomeApp_Tools.h"
|
#include "SalomeApp_Tools.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
// OCCT Includes
|
// OCCT Includes
|
||||||
@ -184,7 +184,7 @@ SMESHGUI_RemoveElementsDlg
|
|||||||
GroupC1Layout->addWidget(LineEditC1A1, 0, 2);
|
GroupC1Layout->addWidget(LineEditC1A1, 0, 2);
|
||||||
SMESHGUI_RemoveElementsDlgLayout->addWidget(GroupC1, 1, 0);
|
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 */
|
Init(); /* Initialisations */
|
||||||
}
|
}
|
||||||
@ -312,7 +312,7 @@ void SMESHGUI_RemoveElementsDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_RemoveElementsDlg::ClickOnHelp()
|
void SMESHGUI_RemoveElementsDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_Selector.h"
|
#include "SVTK_Selector.h"
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
@ -184,7 +184,7 @@ SMESHGUI_RemoveNodesDlg
|
|||||||
GroupC1Layout->addWidget(LineEditC1A1, 0, 2);
|
GroupC1Layout->addWidget(LineEditC1A1, 0, 2);
|
||||||
SMESHGUI_RemoveNodesDlgLayout->addWidget(GroupC1, 1, 0);
|
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 */
|
Init(); /* Initialisations */
|
||||||
}
|
}
|
||||||
@ -311,7 +311,7 @@ void SMESHGUI_RemoveNodesDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_RemoveNodesDlg::ClickOnHelp()
|
void SMESHGUI_RemoveNodesDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SALOME_ListIO.hxx"
|
#include "SALOME_ListIO.hxx"
|
||||||
|
|
||||||
@ -97,11 +97,11 @@ SMESHGUI_RenumberingDlg::SMESHGUI_RenumberingDlg( SMESHGUI* theModule, const cha
|
|||||||
GroupConstructors = new QButtonGroup(this, "GroupConstructors");
|
GroupConstructors = new QButtonGroup(this, "GroupConstructors");
|
||||||
if (unit == 0) {
|
if (unit == 0) {
|
||||||
GroupConstructors->setTitle(tr("SMESH_NODES" ));
|
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) {
|
else if (unit == 1) {
|
||||||
GroupConstructors->setTitle(tr("SMESH_ELEMENTS" ));
|
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->setExclusive(TRUE);
|
||||||
GroupConstructors->setColumnLayout(0, Qt::Vertical);
|
GroupConstructors->setColumnLayout(0, Qt::Vertical);
|
||||||
@ -316,7 +316,7 @@ void SMESHGUI_RenumberingDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_RenumberingDlg::ClickOnHelp()
|
void SMESHGUI_RenumberingDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
#include "SVTK_ViewWindow.h"
|
#include "SVTK_ViewWindow.h"
|
||||||
@ -516,7 +516,7 @@ void SMESHGUI_RevolutionDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_RevolutionDlg::ClickOnHelp()
|
void SMESHGUI_RevolutionDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
#include "SVTK_ViewWindow.h"
|
#include "SVTK_ViewWindow.h"
|
||||||
@ -468,7 +468,7 @@ void SMESHGUI_RotationDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_RotationDlg::ClickOnHelp()
|
void SMESHGUI_RotationDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include "SUIT_Desktop.h"
|
#include "SUIT_Desktop.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
#include "SVTK_ViewWindow.h"
|
#include "SVTK_ViewWindow.h"
|
||||||
@ -617,7 +617,7 @@ void SMESHGUI_SewingDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_SewingDlg::ClickOnHelp()
|
void SMESHGUI_SewingDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include "SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
|
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "SUIT_ResourceMgr.h"
|
#include "SUIT_ResourceMgr.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
#include "SUIT_Desktop.h"
|
#include "SUIT_Desktop.h"
|
||||||
@ -279,7 +279,7 @@ void SMESHGUI_SingleEditDlg::onClose()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_SingleEditDlg::onHelp()
|
void SMESHGUI_SingleEditDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
#include "SVTK_Selector.h"
|
#include "SVTK_Selector.h"
|
||||||
@ -443,7 +443,7 @@ void SMESHGUI_SmoothingDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_SmoothingDlg::ClickOnHelp()
|
void SMESHGUI_SmoothingDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
#include "SUIT_OverrideCursor.h"
|
#include "SUIT_OverrideCursor.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
#include "SALOME_ListIO.hxx"
|
#include "SALOME_ListIO.hxx"
|
||||||
@ -178,7 +178,7 @@ SMESHGUI_StandardMeshInfosDlg::SMESHGUI_StandardMeshInfosDlg( SMESHGUI* theModul
|
|||||||
mySelectionMgr->installFilter(myMeshFilter);
|
mySelectionMgr->installFilter(myMeshFilter);
|
||||||
onSelectionChanged();
|
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()
|
void SMESHGUI_StandardMeshInfosDlg::onHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
#include "SVTK_ViewWindow.h"
|
#include "SVTK_ViewWindow.h"
|
||||||
@ -532,7 +532,7 @@ void SMESHGUI_SymmetryDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_SymmetryDlg::ClickOnHelp()
|
void SMESHGUI_SymmetryDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
#include "SUIT_Session.h"
|
#include "SUIT_Session.h"
|
||||||
#include "SUIT_MessageBox.h"
|
#include "SUIT_MessageBox.h"
|
||||||
|
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
|
|
||||||
#include "SVTK_ViewModel.h"
|
#include "SVTK_ViewModel.h"
|
||||||
#include "SVTK_Selection.h"
|
#include "SVTK_Selection.h"
|
||||||
@ -494,7 +494,7 @@ void SMESHGUI_TranslationDlg::ClickOnCancel()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_TranslationDlg::ClickOnHelp()
|
void SMESHGUI_TranslationDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
#include "SALOME_InteractiveObject.hxx"
|
#include "SALOME_InteractiveObject.hxx"
|
||||||
|
|
||||||
#include "SalomeApp_Study.h"
|
#include "SalomeApp_Study.h"
|
||||||
#include "SalomeApp_Application.h"
|
#include "LightApp_Application.h"
|
||||||
#include "LightApp_SelectionMgr.h"
|
#include "LightApp_SelectionMgr.h"
|
||||||
|
|
||||||
#include "SVTK_ViewWindow.h"
|
#include "SVTK_ViewWindow.h"
|
||||||
@ -185,7 +185,7 @@ void SMESHGUI_TransparencyDlg::ClickOnOk()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void SMESHGUI_TransparencyDlg::ClickOnHelp()
|
void SMESHGUI_TransparencyDlg::ClickOnHelp()
|
||||||
{
|
{
|
||||||
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
if (app)
|
if (app)
|
||||||
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
app->onHelpContextModule(mySMESHGUI ? app->moduleName(mySMESHGUI->moduleName()) : QString(""), myHelpFileName);
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user