Ignore:
Timestamp:
Jan 10, 2018 5:15:53 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
e147ce2
Parents:
eae226b
git-author:
Piotr Rozyczko <rozyczko@…> (01/10/18 05:05:35)
git-committer:
Piotr Rozyczko <rozyczko@…> (01/10/18 05:15:53)
Message:

Added constraints to the fitter

File:
1 edited

Legend:

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

    reae226b rd3c0b95  
    2929 
    3030        self.cmdOK.clicked.connect(self.accept) 
     31        self.cmdHelp.clicked.connect(self.onHelp) 
    3132        self.cmdRevert.clicked.connect(self.revert) 
    3233        self.txtConstraint.editingFinished.connect(self.validateFormula) 
     
    122123        return True 
    123124 
     125    def onHelp(self): 
     126        """ 
     127        Display related help section 
     128        """ 
     129        try: 
     130            location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 
     131            "/user/sasgui/perspectives/fitting/fitting_help.html#simultaneous-fits-with-constraints" 
     132 
     133            self.manager._helpView.load(QtCore.QUrl(location)) 
     134            self.manager._helpView.show() 
     135        except AttributeError: 
     136            # No manager defined - testing and standalone runs 
     137            pass 
    124138 
    125139 
Note: See TracChangeset for help on using the changeset viewer.