I want to change the decimal digit in QLineEdit box. Here is the code I write
self.le1= QtGui.QLineEdit()
self.le1.setValidator(QtGui.QDoubleValidator(1, 65535, 5))
From the documentation, I think it will make the input from range 1 to 65535 and can allow user to input 5 digits after decimal. But its not working. Can someone figure out the problem?