Skip to content

Commit

Permalink
Re #11428 Use mantid help system
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelalvarezbanos committed Mar 26, 2015
1 parent 8ccb343 commit 9f3b6e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
Expand Up @@ -3,14 +3,13 @@
#include "MantidAPI/FunctionFactory.h"
#include "MantidAPI/FunctionDomain1D.h"
#include "MantidAPI/AlgorithmManager.h"
#include "MantidQtAPI/HelpWindow.h"

#include <boost/scoped_array.hpp>

#include <QDesktopServices>
#include <QMessageBox>
#include <QMenu>
#include <QSignalMapper>
#include <QUrl>

#include <qwt_symbol.h>

Expand Down Expand Up @@ -206,8 +205,7 @@ namespace CustomInterfaces
}

void ALCBaselineModellingView::help() {
QDesktopServices::openUrl(QUrl(QString("http://www.mantidproject.org/") +
"Muon_ALC:_Baseline_Modelling"));
MantidQt::API::HelpWindow::showCustomInterface(NULL, QString("Muon_ALC"));
}

} // namespace CustomInterfaces
Expand Down
@@ -1,8 +1,8 @@
#include "MantidQtCustomInterfaces/Muon/ALCDataLoadingView.h"

#include <QDesktopServices>
#include "MantidQtAPI/HelpWindow.h"

#include <QMessageBox>
#include <QUrl>

#include <qwt_symbol.h>

Expand Down Expand Up @@ -165,8 +165,7 @@ namespace CustomInterfaces

void ALCDataLoadingView::help()
{
QDesktopServices::openUrl(QUrl(QString("http://www.mantidproject.org/") +
"Muon_ALC:_Data_Loading"));
MantidQt::API::HelpWindow::showCustomInterface(NULL, QString("Muon_ALC"));
}

void ALCDataLoadingView::setWaitingCursor()
Expand Down
@@ -1,7 +1,7 @@
#include "MantidQtCustomInterfaces/Muon/ALCPeakFittingView.h"

#include <QDesktopServices>
#include <QUrl>
#include "MantidQtAPI/HelpWindow.h"

#include <qwt_symbol.h>

namespace MantidQt
Expand Down Expand Up @@ -106,8 +106,7 @@ void ALCPeakFittingView::setPeakPicker(const IPeakFunction_const_sptr& peak)

void ALCPeakFittingView::help()
{
QDesktopServices::openUrl(QUrl(QString("http://www.mantidproject.org/") +
"Muon_ALC:_Peak_Fitting"));
MantidQt::API::HelpWindow::showCustomInterface(NULL, QString("Muon_ALC"));
}

} // namespace CustomInterfaces
Expand Down

0 comments on commit 9f3b6e1

Please sign in to comment.