Changeset 060413c in sasview
- Timestamp:
- Aug 6, 2018 9:48:06 AM (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:
- 03e04a4
- Parents:
- 3d18691
- Location:
- src/sas/qtgui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/GuiManager.py
r3d18691 r060413c 140 140 self._workspace.toolBar.setVisible(LocalConfig.TOOLBAR_SHOW) 141 141 self._workspace.actionHide_Toolbar.setText("Show Toolbar") 142 self.categoryManagerWidget = CategoryManager()143 142 144 143 # Add calculators - floating for usability -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r3d18691 r060413c 1935 1935 # custom kernel load requires full path 1936 1936 name = os.path.join(ModelUtilities.find_plugins_dir(), model_name+".py") 1937 kernel_module = generate.load_kernel_module(name) 1937 try: 1938 kernel_module = generate.load_kernel_module(name) 1939 except ModuleNotFoundError: 1940 # maybe it's a recategorised custom model? 1941 name = os.path.join(ModelUtilities.find_plugins_dir(), model_name+".py") 1942 # If this rises, it's a valid problem. 1943 kernel_module = generate.load_kernel_module(name) 1938 1944 1939 1945 if hasattr(kernel_module, 'parameters'): -
src/sas/qtgui/Utilities/PluginDefinition.py
rc5e0d84 r060413c 30 30 self.pd_parameter_dict = {} 31 31 32 # Initialize widgets 33 self.addWidgets() 34 35 # Wait for all widgets to finish processing 36 QtWidgets.QApplication.processEvents() 37 32 38 # Initialize signals 33 39 self.addSignals() 34 35 # Initialize widgets36 self.addWidgets()37 40 38 41 def addTooltip(self): … … 160 163 # keep in mind that this is called every time the text changes. 161 164 # mind the performance! 162 self.addTooltip() 163 self.model['text'] = self.txtFunction.toPlainText().lstrip().rstrip() 164 self.modelModified.emit() 165 #self.addTooltip() 166 new_text = self.txtFunction.toPlainText().lstrip().rstrip() 167 if new_text != self.model['text']: 168 self.model['text'] = new_text 169 self.modelModified.emit() 165 170 166 171 def onOverwrite(self):
Note: See TracChangeset
for help on using the changeset viewer.