title: Qt Plain text edit, printing from right
body: <p>I am making a calculator in qt. 
  I have  a plain text edit box. 
  when I input numbers in it, I want it to print from the right(like any other calculator).</p>
  
  <p>also, I want to disable input of anything except numbers. 
  (little new in qt)</p>