VisuGUI_CursorDlg* CursorDlg =
new VisuGUI_CursorDlg (GetDesktop(this), tr("DLG_LINEWIDTH_TITLE"), TRUE);
+ CursorDlg->helpFileName = "viewing_3d_presentations_intro_page.html#width_opacity_anchor";
CursorDlg->Comment1->setText(tr("DLG_LINEWIDTH_CMT1"));
CursorDlg->Comment2->setText(tr("DLG_LINEWIDTH_CMT2"));
CursorDlg->SpinBox1->setMinValue(1);
*/
void VisuGUI_CursorDlg::onHelp()
{
- QString aHelpFileName = "viewing_3d_presentations_intro_page.html";
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
if (app) {
VisuGUI* aVisuGUI = dynamic_cast<VisuGUI*>( app->activeModule() );
- app->onHelpContextModule(aVisuGUI ? app->moduleName(aVisuGUI->moduleName()) : QString(""), aHelpFileName);
+ app->onHelpContextModule(aVisuGUI ? app->moduleName(aVisuGUI->moduleName()) : QString(""), helpFileName);
}
else {
QString platform;
#endif
SUIT_MessageBox::warn1(0, QObject::tr("WRN_WARNING"),
QObject::tr("EXTERNAL_BROWSER_CANNOT_SHOW_PAGE").
- arg(app->resourceMgr()->stringValue("ExternalBrowser", platform)).arg(aHelpFileName),
+ arg(app->resourceMgr()->stringValue("ExternalBrowser", platform)).arg(helpFileName),
QObject::tr("BUT_OK"));
}
}
//=======================================================================
void VisuGUI_TransparencyDlg::ClickOnHelp()
{
- QString aHelpFileName = "viewing_3d_presentations_intro_page.html";
+ QString aHelpFileName = "viewing_3d_presentations_intro_page.html#width_opacity_anchor";
LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
if (app) {
VisuGUI* aVisuGUI = dynamic_cast<VisuGUI*>( app->activeModule() );