I am developing a project using Qt4 and I have run into a slight issue. I am creating a modal window from the main window. I want this to disable the toolbar at the top. I have a menu item that spawns the modal from the menu. What I want is that when the modal is spawned that menus is disabled. I have tried using the setEnabled(false) function but that doesn't reset it.I am developing a project using Qt4 and I have