Commit ac091a0e authored by Savici, Andrei T's avatar Savici, Andrei T Committed by Peterson, Peter
Browse files

Port all interfaces to new convention

parent c7539143
......@@ -62,4 +62,4 @@ class HelpWidgetView(QtWidgets.QWidget):
manageuserdirectories.ManageUserDirectories.openManageUserDirectories()
def _on_help_button_clicked(self):
InterfaceManager().showCustomInterfaceHelp(self.doc)
InterfaceManager().showCustomInterfaceHelp(self.doc, 'muon')
......@@ -681,7 +681,7 @@ class PyChopGui(QMainWindow):
"""
try:
import mantidqt
mantidqt.interfacemanager.InterfaceManager().showCustomInterfaceHelp("PyChop")
mantidqt.interfacemanager.InterfaceManager().showCustomInterfaceHelp("PyChop", 'direct')
except ImportError:
helpTxt = "PyChop is a tool to allow direct inelastic neutron\nscattering users to estimate the inelastic resolution\n"
helpTxt += "and incident flux for a given spectrometer setting.\n\nFirst select the instrument, chopper settings and\n"
......
......@@ -209,7 +209,7 @@ class QECoverageGUI(QtWidgets.QWidget):
mantid.UsageService.registerFeatureUsage(mantid.kernel.FeatureType.Interface,"QECoverage",False)
def onHelp(self):
show_interface_help(self.mantidplot_name, self.assistant_process, section='utility')
show_interface_help(self.mantidplot_name, self.assistant_process, area='utility')
def closeEvent(self, event):
self.assistant_process.close()
......
......@@ -44,4 +44,4 @@ class SampleTransmissionCalculatorPresenter(object):
def help_window(self):
gui_name = 'Sample Transmission Calculator'
InterfaceManager().showCustomInterfaceHelp(gui_name)
InterfaceManager().showCustomInterfaceHelp(gui_name,'general')
......@@ -90,7 +90,7 @@ class MainWindow(QMainWindow):
pass
def helpClicked(self):
show_interface_help(self.mantidplot_name, self.assistant_process, section='utility')
show_interface_help(self.mantidplot_name, self.assistant_process, area='utility')
def closeEvent(self, event):
self.assistant_process.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment