Changeset e90988c in sasview for src/sas/qtgui/Perspectives/Corfunc
- Timestamp:
- Dec 14, 2017 9:51:02 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 7fd20fc, 626c7c5
- Parents:
- 8353d90
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py
r50bfab0 re90988c 5 5 6 6 # global 7 from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg \ 8 as FigureCanvas 9 from matplotlib.figure import Figure 10 from numpy.linalg.linalg import LinAlgError 11 7 12 from PyQt5 import QtCore 8 13 from PyQt5 import QtGui, QtWidgets … … 17 22 from .UI.CorfuncPanel import Ui_CorfuncDialog 18 23 from .CorfuncUtils import WIDGETS as W 19 20 from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg \21 as FigureCanvas22 from matplotlib.figure import Figure23 from numpy.linalg.linalg import LinAlgError24 24 25 25 … … 136 136 self.cmdCalculateBg.clicked.connect(self.calculate_background) 137 137 self.cmdCalculateBg.setEnabled(False) 138 self.cmdHelp.clicked.connect(self.showHelp) 138 139 139 140 self.model.itemChanged.connect(self.model_changed) … … 306 307 307 308 # pylint: disable=invalid-name 309 def showHelp(self): 310 """ 311 Opens a webpage with help on the perspective 312 """ 313 """ Display help when clicking on Help button """ 314 treeLocation = "/user/sasgui/perspectives/corfunc/corfunc_help.html" 315 self.parent.showHelp(treeLocation) 316 308 317 @staticmethod 309 318 def allowBatch():
Note: See TracChangeset
for help on using the changeset viewer.