#include "SUIT_MessageBox.h"
#include "SUIT_ResourceMgr.h"
#include "SalomeApp_Application.h"
+#include "LightApp_Application.h"
#include "LightApp_SelectionMgr.h"
#include <qpushbutton.h>
//=================================================================================
void EntityGUI_SketcherDlg::ClickOnHelp()
{
- SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
+ LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
if (app)
app->onHelpContextModule(myGeometryGUI ? app->moduleName(myGeometryGUI->moduleName()) : QString(""), myHelpFileName);
else {
#include "SUIT_Session.h"
#include "SalomeApp_Application.h"
+#include "LightApp_Application.h"
#include "LightApp_SelectionMgr.h"
#include "SUIT_MessageBox.h"
//=================================================================================
void GEOMBase_Skeleton::ClickOnHelp()
{
- SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
- /*if (app)
+ LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
+ if (app)
app->onHelpContextModule(myGeomGUI ? app->moduleName(myGeomGUI->moduleName()) : QString(""), myHelpFileName);
- else {*/
+ else {
SUIT_MessageBox::warn1(0, QObject::tr("WRN_WARNING"),
QObject::tr("EXTERNAL_BROWSER_CANNOT_SHOW_PAGE").
arg(app->resourceMgr()->stringValue("ExternalBrowser", "application")).arg(myHelpFileName),
QObject::tr("BUT_OK"));
- //}
+ }
}
//=================================================================================
// function : setHelpFileName()
#include "GEOMToolsGUI_NbIsosDlg.h"
#include "GeometryGUI.h"
-#include <SalomeApp_Application.h>
+#include <LightApp_Application.h>
#include <SUIT_MessageBox.h>
#include <SUIT_Session.h>
#include <SUIT_Tools.h>
//=================================================================================
void GEOMToolsGUI_NbIsosDlg::ClickOnHelp()
{
- SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
+ LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
if (app) {
GeometryGUI* aGeomGUI = dynamic_cast<GeometryGUI*>( app->module( "Geometry" ) );
app->onHelpContextModule(aGeomGUI ? app->moduleName(aGeomGUI->moduleName()) : QString(""), myHelpFileName);
#include <SUIT_OverrideCursor.h>
#include <SalomeApp_Application.h>
+#include <LightApp_Application.h>
#include <LightApp_SelectionMgr.h>
#include <qframe.h>
//=================================================================================
void GEOMToolsGUI_TransparencyDlg::ClickOnHelp()
{
- SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
+ LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
if (app) {
GeometryGUI* aGeomGUI = dynamic_cast<GeometryGUI*>( app->module( "Geometry" ) );
app->onHelpContextModule(aGeomGUI ? app->moduleName(aGeomGUI->moduleName()) : QString(""), myHelpFileName);
#include "GEOM_Displayer.h"
#include "GeometryGUI.h"
-#include "SalomeApp_Application.h"
+#include "LightApp_Application.h"
#include "LightApp_SelectionMgr.h"
+#include "SalomeApp_Application.h"
#include "SalomeApp_Tools.h"
#include "SUIT_MessageBox.h"
#include "SUIT_Session.h"
//=================================================================================
void MeasureGUI_Skeleton::ClickOnHelp()
{
- SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
+ LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
if (app)
app->onHelpContextModule(myGeomGUI ? app->moduleName(myGeomGUI->moduleName()) : QString(""), myHelpFileName);
else {
#include "GEOMImpl_Types.hxx"
#include "SalomeApp_Application.h"
+#include "LightApp_Application.h"
#include "LightApp_SelectionMgr.h"
#include "SUIT_MessageBox.h"
#include "SUIT_Session.h"
//=================================================================================
void RepairGUI_FreeBoundDlg::onHelp()
{
- SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
+ LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
if (app)
app->onHelpContextModule(myGeomGUI ? app->moduleName(myGeomGUI->moduleName()) : QString(""), myHelpFileName);
else {
#include "RepairGUI_FreeFacesDlg.h"
-#include "SalomeApp_Application.h"
+#include "LightApp_Application.h"
#include "LightApp_SelectionMgr.h"
+#include "SalomeApp_Application.h"
#include "SalomeApp_Tools.h"
#include "SUIT_MessageBox.h"
//=================================================================================
void RepairGUI_FreeFacesDlg::onHelp()
{
- SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
+ LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
if (app)
app->onHelpContextModule(myGeomGUI ? app->moduleName(myGeomGUI->moduleName()) : QString(""), myHelpFileName);
else {