title: How to draw a simple horizontal rule in a QWidget?
body: <p>I just want to add a horizontal rule (just like <code>&lt;hr&gt;</code> in HTML, see below) to a QWidget.
  <hr>
  But I failed to find such a class in the documentation.<br>
  Could anyone give me example code?</p>