This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt4.QtGui import QDoubleValidator, QValidator | |
from sys import float_info | |
class MyDoubleValidator(QDoubleValidator): | |
''' | |
Fix for strange behavior of default QDoubleValidator | |
''' |
NewerOlder