Changeset d4881f6a in sasview for src/sas/qtgui/MainWindow
- Timestamp:
- Nov 15, 2017 6:52:27 AM (7 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:
- c7ebb37
- Parents:
- fa81e94
- Location:
- src/sas/qtgui/MainWindow
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
r53c771e rd4881f6a 29 29 30 30 import sas.qtgui.Perspectives as Perspectives 31 32 DEFAULT_PERSPECTIVE = "Fitting" 31 33 32 34 class DataExplorerWindow(DroppableDataLoadWidget): … … 161 163 self.cbFitting.currentIndexChanged.connect(self.updatePerspectiveCombo) 162 164 # Set the index so we see the default (Fitting) 163 self. updatePerspectiveCombo(0)165 self.cbFitting.setCurrentIndex(self.cbFitting.findText(DEFAULT_PERSPECTIVE)) 164 166 165 167 def _perspective(self): -
src/sas/qtgui/MainWindow/GuiManager.py
r7c487846 rd4881f6a 37 37 import sas.qtgui.Perspectives as Perspectives 38 38 from sas.qtgui.Perspectives.Fitting.FittingPerspective import FittingWindow 39 from sas.qtgui.MainWindow.DataExplorer import DataExplorerWindow 39 from sas.qtgui.MainWindow.DataExplorer import DataExplorerWindow, DEFAULT_PERSPECTIVE 40 40 41 41 class Acknowledgements(QDialog, Ui_Acknowledgements): … … 69 69 self.addTriggers() 70 70 71 # Populate menus with dynamic data 72 # 73 # Analysis/Perspectives - potentially 74 # Window/current windows 75 # 76 # Widgets 77 # 78 # Current displayed perspective 71 # Currently displayed perspective 79 72 self._current_perspective = None 80 73 81 # Invoke the initial perspective 82 #self.perspectiveChanged("Fitting") 74 # Populate the main window with stuff 83 75 self.addWidgets() 84 76 … … 674 666 # For now we'll just update the analysis menu status but when the inversion is implemented delete from here 675 667 self.checkAnalysisOption(self._workspace.actionInversion) 676 print("actionInversion TRIGGERED")677 668 # to here and uncomment the following line 678 #self.perspectiveChanged("Inversion")669 self.perspectiveChanged("Inversion") 679 670 680 671 def actionInvariant(self):
Note: See TracChangeset
for help on using the changeset viewer.