title: Custom Qt QMenu
body: <p>Is there a way in Qt to add a layout or widgets to a <code>QMenu</code> to create a custom menu?</p>
  
  <p>The example below (left) is what I have, and I'd like to aim for something similar to the mock-up on the right, by adding non-menu widgets. If it can't be done by <code>QMenu</code>, are there guides to produce similar results (perhaps by having a more standard widget act as a context menu) anywhere?</p>
  
  <p><img src="https://i.stack.imgur.com/H3VoG.png" alt="Custom QMenu"></p>