Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
ac091a0e
Commit
ac091a0e
authored
Mar 02, 2021
by
Savici, Andrei T
Committed by
Peterson, Peter
Mar 03, 2021
Browse files
Port all interfaces to new convention
parent
c7539143
Changes
25
Hide whitespace changes
Inline
Side-by-side
scripts/Muon/GUI/Common/help_widget/help_widget_view.py
View file @
ac091a0e
...
...
@@ -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'
)
scripts/PyChop/PyChopGui.py
View file @
ac091a0e
...
...
@@ -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
\n
scattering users to estimate the inelastic resolution
\n
"
helpTxt
+=
"and incident flux for a given spectrometer setting.
\n\n
First select the instrument, chopper settings and
\n
"
...
...
scripts/QECoverage/QECoverageGUI.py
View file @
ac091a0e
...
...
@@ -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
()
...
...
scripts/SampleTransmissionCalculator/stc_presenter.py
View file @
ac091a0e
...
...
@@ -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'
)
scripts/TofConverter/converterGUI.py
View file @
ac091a0e
...
...
@@ -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
()
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment