Changeset d6b8a1d in sasview for src/sas/qtgui/Plotting/BoxSum.py


Ignore:
Timestamp:
Nov 9, 2017 8:43:56 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:
53c771e
Parents:
fbfc488
git-author:
Piotr Rozyczko <rozyczko@…> (11/07/17 08:29:59)
git-committer:
Piotr Rozyczko <rozyczko@…> (11/09/17 08:43:56)
Message:

More Qt5 related fixes

File:
1 edited

Legend:

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

    rfbfc488 rd6b8a1d  
    55from PyQt5 import QtGui 
    66from PyQt5 import QtWidgets 
     7 
     8import sas.qtgui.Utilities.GuiUtils as GuiUtils 
    79 
    810# Local UI 
     
    1719        assert isinstance(model, QtGui.QStandardItemModel) 
    1820 
    19         self.txtBoxHeight.setValidator(QtGui.QDoubleValidator()) 
    20         self.txtBoxWidth.setValidator(QtGui.QDoubleValidator()) 
    21         self.txtCenterX.setValidator(QtGui.QDoubleValidator()) 
    22         self.txtCenterY.setValidator(QtGui.QDoubleValidator()) 
     21        self.txtBoxHeight.setValidator(GuiUtils.DoubleValidator()) 
     22        self.txtBoxWidth.setValidator(GuiUtils.DoubleValidator()) 
     23        self.txtCenterX.setValidator(GuiUtils.DoubleValidator()) 
     24        self.txtCenterY.setValidator(GuiUtils.DoubleValidator()) 
    2325 
    2426        self.model = model 
Note: See TracChangeset for help on using the changeset viewer.