Ignore:
Timestamp:
Nov 9, 2017 8:43:55 AM (6 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:
d6b8a1d
Parents:
7969b9c
git-author:
Piotr Rozyczko <rozyczko@…> (11/03/17 10:58:39)
git-committer:
Piotr Rozyczko <rozyczko@…> (11/09/17 08:43:55)
Message:

More Qt5 related fixes.

File:
1 edited

Legend:

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

    r4992ff2 rfbfc488  
    6060 
    6161        # set validators 
    62         self.ui.editMolecularFormula.setValidator(FormulaValidator(self.ui.editMolecularFormula)) 
     62        #self.ui.editMolecularFormula.setValidator(FormulaValidator(self.ui.editMolecularFormula)) 
    6363 
    6464        rx = QtCore.QRegExp("[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?") 
     
    9494        self.mapper.addMapping(self.ui.editMassDensity     , MODEL.MASS_DENSITY) 
    9595 
    96         # FIXME DOESNT WORK WITH QT5 
    97         #self.mapper.toFirst() 
     96        self.mapper.toFirst() 
    9897 
    9998    def dataChanged(self, top, bottom): 
     
    140139 
    141140    def modelReset(self): 
    142         #self.model.beginResetModel() 
    143141        try: 
    144142            self.setMode(None) 
     
    148146        finally: 
    149147            pass 
    150             #self.model.endResetModel() 
    151148 
    152149    def displayHelp(self): 
Note: See TracChangeset for help on using the changeset viewer.