title: How to set PyQt5 QIntValidator's top and bottom?
body: <p>I have a line edit like the code below. in 3 different codes I have 2 different problems:</p>
  
  <pre><code>self.rnr_id_num_le = QLineEdit()
  self.rnr_id_num_le.setValidator(QIntValidator(9999999999, 0))
  </code></pre>
  
  <p>using this I can pnly enter 0 and 1.</p>
  
  <p>and</p>
  
  <pre><code>self.rnr_id_num_le = QLineEdit()
  self.rnr_id_num_le.setValidator(QIntValidator(0, 9999999999))
  </code></pre>
  
  <p>using this I can only enter 0.</p>
  
  <p>I need it to get a number like this: 5236147891 ( the number of digits are important. If I don't put any numbers in QIntValidator it won't let me enter a number this big)</p>
  
  <p>Based on
  <a href="http://pyqt.sourceforge.net/Docs/PyQt4/qintvalidator.html#QIntValidator-2" rel="nofollow">http://pyqt.sourceforge.net/Docs/PyQt4/qintvalidator.html#QIntValidator-2</a>
  the second one must work; but it doesn't :(</p>
  
  <p>EDIT:</p>
  
  <p>OK, apparently its topest top, if I may, is one digit less than what I need. Do you know another way to validate my QLineEdit, or increase QIntValidator's top?</p>