Changeset 13ee4d9 in sasview for src/sas


Ignore:
Timestamp:
Mar 25, 2019 12:09:10 PM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
Children:
bad4a52, 14e1ff0
Parents:
d4c9242
Message:

Added tab specific information for the user. SASVIEW-1281

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py

    r33c0561 r13ee4d9  
    958958        if isBatch: 
    959959            self.chkChain.setChecked(is_chain) 
     960 
     961    def getReport(self): 
     962        """ 
     963        Wrapper for non-existent functionality. 
     964        Tell the user to use the reporting tool 
     965        on separate fit pages. 
     966        """ 
     967        msg = "Please use Report Results directly on fit pages" 
     968        msg += " involved in the Constrained and Simultaneous fitting process." 
     969        msgbox = QtWidgets.QMessageBox(self) 
     970        msgbox.setIcon(QtWidgets.QMessageBox.Warning) 
     971        msgbox.setText(msg) 
     972        msgbox.setWindowTitle("Fit Report") 
     973        _ = msgbox.exec_() 
     974        return 
Note: See TracChangeset for help on using the changeset viewer.