[PyQt] Re: Hiding a MenuBar Item

David F daelfin at gmail.com
Sat Jan 17 22:05:27 GMT 2009


Hi Marc,

Marc Nations <mnations.lists <at> gmail.com> writes:
>
>             self.ui.menuAdmin.setVisible(0)
>             self.ui.menuAdmin.hide()
> ...don't work. 

You need to do:

    self.ui.menuAdmin.menuAction().setVisible(False)

--D



More information about the PyQt mailing list