Ignore:
Timestamp:
Nov 7, 2017 8:29:59 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:
3e8dee3
Parents:
6280464
Message:

More Qt5 related fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/SlicerParameters.py

    r0849aec r412e069e  
    88from PyQt5 import QtWidgets 
    99from PyQt5 import QtWebKitWidgets 
     10 
     11import sas.qtgui.Utilities.GuiUtils as GuiUtils 
    1012 
    1113# Local UI 
     
    126128            super(PositiveDoubleEditor, self).__init__(parent) 
    127129            self.setAutoFillBackground(True) 
    128             validator = QtGui.QDoubleValidator() 
     130            validator = GuiUtils.DoubleValidator() 
    129131            # Don't use the scientific notation, cause 'e'. 
    130             validator.setNotation(QtGui.QDoubleValidator.StandardNotation) 
     132            validator.setNotation(GuiUtils.DoubleValidator.StandardNotation) 
    131133 
    132134            self.setValidator(validator) 
Note: See TracChangeset for help on using the changeset viewer.