- Timestamp:
- Nov 16, 2018 8:54:47 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 87ca467
- Parents:
- 3b0b17e
- git-author:
- Piotr Rozyczko <piotr.rozyczko@…> (11/16/18 08:53:57)
- git-committer:
- Piotr Rozyczko <piotr.rozyczko@…> (11/16/18 08:54:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r671d2fc8 ra2b8607 2545 2545 2546 2546 # Disable buttons/table 2547 self.disableInteractiveElements ()2547 self.disableInteractiveElementsOnCalculate() 2548 2548 # Awful API to a backend method. 2549 2549 calc_thread = self.methodCalculateForData()(data=data, … … 3265 3265 self.setInteractiveElements(False) 3266 3266 3267 def disableInteractiveElementsOnCalculate(self): 3268 """ 3269 Set buttion caption on fitting/calculate start 3270 Disable the param table(s) 3271 """ 3272 # Notify the user that fitting is being run 3273 # Allow for stopping the job 3274 self.cmdFit.setStyleSheet('QPushButton {color: red;}') 3275 self.cmdFit.setText('Running...') 3276 self.setInteractiveElements(False) 3277 3267 3278 def readFitPage(self, fp): 3268 3279 """
Note: See TracChangeset
for help on using the changeset viewer.