def contextMenuEvent ( self , event ) : self . menu . popup ( event . globalPos ( ) ) event . accept ( )
python qmenu popup size 1
Reimplement Qt method
def contextMenuEvent(self, event):
        """Reimplement Qt method"""
        self.menu.popup(event.globalPos())
        event.accept()