title: Drawing a polygon in PyQt
body: <p><strong>Background</strong></p>
  
  <p>I would like to draw a simple shape on the screen, and I have selected PyQt as the package to use, as it seems to be the most established. I am not locked to it in any way.</p>
  
  <p><strong>Problem</strong></p>
  
  <p>It seems to be over complicated to just draw a simple shape like for example a polygon on the screen. All examples I find try to do a lot of extra things and I am not sure what is actually relevant.</p>
  
  <p><strong>Question</strong></p>
  
  <p>What is the absolute minimal way in PyQt to draw a polygon on the screen?</p>
  
  <p>I use version 5 of PyQt and version 3 of Python if it makes any difference.</p>