From: vsv Date: Fri, 28 Feb 2020 12:05:26 +0000 (+0300) Subject: Issue #3145: provide help pages for Import/Export operations X-Git-Tag: V9_5_0a2~74 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b6868bbbda720c06441ec8fb3d693413b4ce73f8;p=modules%2Fshaper.git Issue #3145: provide help pages for Import/Export operations --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 6963c8426..ab8f0b656 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1311,6 +1311,8 @@ void XGUI_Workshop::onImportPart() if (abortAllOperations()) { ModuleBase_OperationFeature* anImportPartOp = dynamic_cast( module()->createOperation(ExchangePlugin_ImportPart::ID())); + anImportPartOp->setHelpFileName(QString("ExchangePlugin") + QDir::separator() + + "importFeature.html"); myPropertyPanel->updateApplyPlusButton(anImportPartOp->feature()); operationMgr()->startOperation(anImportPartOp); } @@ -1322,6 +1324,8 @@ void XGUI_Workshop::onImportShape() if (abortAllOperations()) { ModuleBase_OperationFeature* anImportOp = dynamic_cast( module()->createOperation(ExchangePlugin_Import::ID())); + anImportOp->setHelpFileName(QString("ExchangePlugin") + QDir::separator() + + "importFeature.html"); myPropertyPanel->updateApplyPlusButton(anImportOp->feature()); operationMgr()->startOperation(anImportOp); } @@ -1333,6 +1337,8 @@ void XGUI_Workshop::onExportShape() if (abortAllOperations()) { ModuleBase_OperationFeature* anExportOp = dynamic_cast( module()->createOperation(ExchangePlugin_ExportFeature::ID())); + anExportOp->setHelpFileName(QString("ExchangePlugin") + QDir::separator() + + "exportFeature.html"); myPropertyPanel->updateApplyPlusButton(anExportOp->feature()); operationMgr()->startOperation(anExportOp); } @@ -1344,6 +1350,8 @@ void XGUI_Workshop::onExportPart() if (abortAllOperations()) { ModuleBase_OperationFeature* anExportPartOp = dynamic_cast( module()->createOperation(ExchangePlugin_ExportPart::ID())); + anExportPartOp->setHelpFileName(QString("ExchangePlugin") + QDir::separator() + + "exportFeature.html"); myPropertyPanel->updateApplyPlusButton(anExportPartOp->feature()); operationMgr()->startOperation(anExportPartOp); }