in this case, the Action will not be displayed. But cannot do any operation on clicking QMenu.
I did a solution as: handled mousePressEvent/mouseReleaseEvent in a derived class of QMenu. Then i can perform the operation in menu click and no action needed here. But still i have a problem that the selection and focus is still in menu. So if i need to click another button i need to click it twice. I am not sure how to remove the selection and focus from menu.![]()
Bookmarks