title: Is there a way to define a QToolbar with buttons and popup menus using Qt Designer?
body: <p>I am wanting to have a toolbar in Qt that contains either QActions or QToolbarButtons that have popup menus attached to them. I have been able to do this perfectly in the code by creating a QMenu, adding it to a QToolbarButton and then adding that to the QToolbar. My issue is that this should be able to be done completely in designer. </p>
  
  <p>This is what I have done via code, I want to define the buttons and menus in qt designer:<br>
  <img src="https://i.stack.imgur.com/gLaJD.png" alt="http://img402.imageshack.us/img402/7669/exmaple.png"></p>
  
  <p>What we are wanting to do with qt designer is to separate the code from the interface. For example this means that one person can design the form's look and components and then a programmer can take this and code the functionality behind it. We cannot accomplish this very effectively if the toolbars and menus must be designed by the programmer.</p>
  
  <p>It seems like this would be a fairly common requirement for many applications, and I can't see how Qt could have forced this to be done in code instead of designer.</p>
  
  <p>If anyone has any ideas as to how this is done, maybe I'm missing something in Qt?</p>