title: PyQt5: Center align a label
body: <p>This should be really simple but I just can't find an answer for this.
  I've tried this PyQt4 code:</p>
  <pre><code>label.setAlignment(Qt.AlignCenter)
  </code></pre>
  <p>But that does not work.</p>