title: Qt QLineEdit widget to get long text left aligned
body: <p>In my Qt application, when the text width in the QLineEdit widget is greater than widget width, it seems QLineEdit can only display the right part of text  (see below). No matter I set the widget to right alignment, or set cursor position to maxTextLength. I will have to click in the QLineEdit text box and hit <kbd>Home</kbd> to see the left part. Is it possible to have the left part displayed by default?</p>
  
  <p>For example:<br>
  The text is "<code>abcdefghijklmnopqrstuvwxyz</code>" (26 characters), and the QLineEdit width is 11-character.</p>
  
  <p>Right part displayed (pqrstuvwxyz):</p>
  
  <pre><code>               [ line edit ]
   abcdefghijklmnopqrstuvwxyz
  </code></pre>
  
  <p>Left part displayed (abcdefghijk):</p>
  
  <pre><code>[ line edit ]
   abcdefghijklmnopqrstuvwxyz
  </code></pre>