title: How do I pad a QString with spaces?
body: <p>How can I pad a QString with spaces on the end?</p>
  
  <p>For example, I want a QString to be 4 characters in total, and it's only 1 character long.  I would like the last 3 to be spaces.</p>