Changes in src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py [d1955d67:e90988c] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
rd1955d67 re90988c 8 8 from PyQt5 import QtCore 9 9 from PyQt5 import QtGui, QtWidgets 10 from PyQt5 import QtWebKit11 10 12 11 from twisted.internet import threads … … 63 62 self._model_item = QtGui.QStandardItem() 64 63 65 #self._helpView = QtWebKit.QWebView()66 64 self.detailsDialog = DetailsDialog(self) 67 65 self.detailsDialog.cmdOK.clicked.connect(self.enabling) … … 82 80 # no reason to have this widget resizable 83 81 self.resize(self.minimumSizeHint()) 84 #self.setFixedSize(self.sizeHint())85 82 86 83 self.communicate = self._manager.communicator() … … 228 225 229 226 self.model = model 227 self.mapper.toFirst() 230 228 self._data = GuiUtils.dataFromItem(self._model_item) 231 229 232 230 # Send the modified model item to DE for keeping in the model 233 231 # Currently -unused 234 # self.communicate.updateModelFromPerspectiveSignal.emit(self._model_item)232 # self.communicate.updateModelFromPerspectiveSignal.emit(self._model_item) 235 233 236 234 plot_data = GuiUtils.plotsFromCheckedItems(self._manager.filesWidget.model) … … 365 363 if self._high_extrapolate: 366 364 # for presentation in InvariantDetails 367 qmax_plot = Q_MAXIMUM_PLOT * max(temp_data.x) # self._data.x)365 qmax_plot = Q_MAXIMUM_PLOT * max(temp_data.x) 368 366 369 367 if qmax_plot > Q_MAXIMUM: … … 431 429 def onHelp(self): 432 430 """ Display help when clicking on Help button """ 433 treeLocation = GuiUtils.HELP_DIRECTORY_LOCATION + \ 434 "/user/sasgui/perspectives/invariant/invariant_help.html" 435 webbrowser.open('file://' + treeLocation) 431 treeLocation = "/user/sasgui/perspectives/invariant/invariant_help.html" 432 self.parent.showHelp(treeLocation) 436 433 437 434 def setupSlots(self):
Note: See TracChangeset
for help on using the changeset viewer.