title: QValidator in Qt?
body: <p>I am validating my TextBox to take only numbers between 1-75.
  I am able to do this by using below code :</p>
  
  <pre><code>QValidator *validator = new QIntValidator(1, 75, this);
  QLineEdit *edit = new QLineEdit(this);
  edit-&gt;setValidator(validator);
  </code></pre>
  
  <p>But now the problem is it takes zero also. I want to avoid Zero 
  Any help is appreciated.</p>