I'm trying to temporarily hide a QMenu which contains some actions ,but
ui.menu_management->setVisible(false); doesn't seem to work,how can I approach this?