Ignore:
Timestamp:
Jun 15, 2017 8:24:49 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:
72f4834
Parents:
144ec831
Message:

Unit tests for fitting options dialog SASVIEW-514

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/SldPanel.py

    rcd2cc745 rb0c5e8c  
    77from periodictable.nsf import neutron_scattering 
    88 
    9 from sas.qtgui.Utilities.GuiUtils import FormulaValidator 
     9import sas.qtgui.Utilities.GuiUtils as GuiUtils 
     10 
    1011from sas.qtgui.UI import main_resources_rc 
    1112 
     
    125126 
    126127        # set validators 
    127         self.ui.editMolecularFormula.setValidator(FormulaValidator(self.ui.editMolecularFormula)) 
     128        self.ui.editMolecularFormula.setValidator(GuiUtils.FormulaValidator(self.ui.editMolecularFormula)) 
    128129 
    129130        rx = QtCore.QRegExp("[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?") 
     
    216217    def displayHelp(self): 
    217218        try: 
    218             location = self.manager.HELP_DIRECTORY_LOCATION + \ 
     219            location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 
    219220                "/user/sasgui/perspectives/calculator/sld_calculator_help.html" 
    220221            self.manager._helpView.load(QtCore.QUrl(location)) 
Note: See TracChangeset for help on using the changeset viewer.