title: Remove top level QMenu from QMenubar programmatically
body: <p>I am working on a Python project that uses Qt Designer to build interface. when working on building a plugin capability, I was able to allow dynamic loading of user plugins and create a new <code>QMenu</code> item to add to the main menubar. The problem is that there seems to be no way of removing that top level <code>QMenu</code> once it is added to the main menubar. I researched/searched quite a bit on this topic and it seems that every solution related to this topic is for removing sub-menu items from a <code>QMenu</code> via removing its actions, <em>not</em> for removing that dynamically-added <code>QMenu</code> itself. I hope someone would point out this to be a simple thing, and provide a code snippet to demo how this is done.</p>