#include "HYDROGUI_InputPanel.h"
#include "HYDROGUI_Module.h"
-#include "HYDROGUI_RunBrowser.h"
#include <CAM_Application.h>
#include <SUIT_Desktop.h>
void HYDROGUI_InputPanel::onHelp()
{
- QString aModuleName = myModule->moduleName();
-
- QString aPagePath = HYDROGUI_RunBrowser::getPagePath( aModuleName );
-
- QString aPageName = "";
- QString aWindowTitle = windowTitle();
- if ( !aWindowTitle.isEmpty() )
- {
- aPageName = QStringList( aWindowTitle.split( " " ) ).join( "_" ).append( ".html" );
- aPageName.toLower();
- }
-
- QString aPage = aPagePath + QDir::separator() + aPageName;
- HYDROGUI_RunBrowser::showPage( myModule->getApp(), aPage );
+ emit panelHelp();
}
void HYDROGUI_InputPanel::closeEvent ( QCloseEvent * event )