- Timestamp:
- Sep 8, 2018 4:47:34 PM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 61f0c75
- Parents:
- 5b144c6
- Location:
- src/sas/qtgui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
r5b144c6 r5d28d6b 98 98 self.communicator.maskEditorSignal.connect(self.showEditDataMask) 99 99 self.communicator.extMaskEditorSignal.connect(self.extShowEditDataMask) 100 self.communicator.changeDataExplorerTabSignal.connect(self.changeTabs) 100 101 101 102 self.cbgraph.editTextChanged.connect(self.enableGraphCombo) … … 139 140 else: 140 141 self.current_view = self.freezeView 142 143 def changeTabs(self, tab=0): 144 """ 145 Switch tabs of the data explorer 146 0: data tab 147 1: theory tab 148 """ 149 assert(tab in [0,1]) 150 self.setCurrentIndex(tab) 141 151 142 152 def displayHelp(self): -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r5b144c6 r5d28d6b 2287 2287 fitted_data.symbol = "Line" 2288 2288 self.createTheoryIndex(fitted_data) 2289 # Switch to the theory tab for user's glee 2290 self.communicate.changeDataExplorerTabSignal.emit(1) 2289 2291 2290 2292 def updateModelIndex(self, fitted_data): -
src/sas/qtgui/Utilities/GuiUtils.py
r5b144c6 r5d28d6b 277 277 # Notify about new categories/models from category manager 278 278 updateModelCategoriesSignal = QtCore.pyqtSignal() 279 280 # Tell the data explorer to switch tabs 281 changeDataExplorerTabSignal = QtCore.pyqtSignal(int) 279 282 280 283 def updateModelItemWithPlot(item, update_data, name=""):
Note: See TracChangeset
for help on using the changeset viewer.