Ignore:
Timestamp:
Nov 9, 2017 8:43:55 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:
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/SldPanel.py

    r4992ff2 rfbfc488  
    128128 
    129129        # set validators 
    130         self.ui.editMolecularFormula.setValidator(GuiUtils.FormulaValidator(self.ui.editMolecularFormula)) 
     130        # TODO: GuiUtils.FormulaValidator() crashes with Qt5 - fix 
     131        #self.ui.editMolecularFormula.setValidator(GuiUtils.FormulaValidator(self.ui.editMolecularFormula)) 
    131132 
    132133        rx = QtCore.QRegExp("[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?") 
     
    148149 
    149150        self.model.dataChanged.connect(self.dataChanged) 
    150         #QtCore.QObject.connect( 
    151         #    self.model, 
    152         #    QtCore.SIGNAL("dataChanged(QModelIndex,QModelIndex)"), 
    153         #    self.dataChanged) 
    154151 
    155152        self.modelReset() 
     
    166163            self.mapper.addMapping(edit, key) 
    167164 
    168         # FIXME DOESNT WORK WITH QT5 
    169         #self.mapper.toFirst() 
     165        self.mapper.toFirst() 
    170166 
    171167    def dataChanged(self, top, bottom): 
     
    216212        finally: 
    217213            pass 
    218             #self.model.endResetModel() 
     214        #self.model.endResetModel() 
    219215 
    220216    def displayHelp(self): 
Note: See TracChangeset for help on using the changeset viewer.