title: How to assign a signal to a QMenu instead of QAction in Qt?
body: <p>I would like to have a menu item without children. I have a QMenubar, and in this menubar there is a QMenu. To use it as a menu, I have to put QActions in it, and they will appear if I click on the QMenu. How is it possible, to have only the menu, without any QActions, to do an action just as if it were a QAction?</p>
  
  <p>A workaround would be to have a toolbox and disguise it as a menu, but it raises several problems:</p>
  
  <ul>
  <li>It's not the cleanest solution</li>
  <li>I have to manually care about highlighting it on mouse hover, and it will not be platform- and user setting independent.</li>
  <li>I can't use it together in a menubar with normal menus with children.</li>
  </ul>