title: Can you add a toolbar to QDialog?
body: <p>I'm working on a project that needs to call a modal window with a toolbar to do some work on some data before it's loaded. The reason I need the toolbar is the user has a few different possible options that can be combined.</p>
  
  <p>The obvious choice here is a Modal dialog (which I have working right now). The issue is I want a toolbar. This is a two part question:</p>
  
  <ol>
  <li>Is it possible to add a toolbar to a <code>QDialog</code>? (also is it possible to do this in Qt Designer?)</li>
  <li>If 1. is not possible, how can I make a <code>QMainWindow</code> modal?</li>
  </ol>