I am trying to display a custom toolbar widget above a QMenu similar to right clicking on an object in excel or powerpoint. Since both widgets are popup widgets and they behave as a stack in qt, when you click outside of the menu and custom widget, the top popup widget closes and then the next popup widget becomes the top. Are there any suggestions on how to make this behave as though both widgets are on top and if you click on a widget, the event occurs on the widget while closing the other? I've tried installing an event filter but didnt have much luck getting the correct behavior. Perhaps create a single widget that contains both?
Bookmarks