title: how to accept value as int from QLineEdit
body: <p>I have set 3 QLineEdits that are supposed to have float variable or int</p>
  
  <pre><code>  self.sfEdt=QtGui.QLineEdit()
    self.efEdt=QtGui.QLineEdit()
    self.bfEdt=QtGui.QLineEdit()
  </code></pre>
  
  <p>and even set the validators</p>
  
  <pre><code>      self.sfEdt.setValidator(QtGui.QIntValidator())
        self.efEdt.setValidator(QtGui.QIntValidator())
        self.byfrEdt.setValidator(QtGui.QIntValidator())
  </code></pre>
  
  <p>but when i check the value type it is QString, how should get the value as int or float ?</p>
  
  <p>because the value that is displayed in these QLineEdit is loaded float converted to to string and if i do not convert it to String it is by Default QString, either their should be a way value entered or loaded into QLineEdit can stay float...</p>