def contextMenuEvent(self, event):
        """
        Handles the default menu options for the orb widget.
        
        :param      event | <QContextMenuEvent>
        """
        if self.contextMenuPolicy() == Qt.DefaultContextMenu:
            self.showMenu(event.pos())
        else:
            super(XOrbTreeWidget, self).contextMenuEvent(event)
def contextMenuEvent ( self , event ) : if self . contextMenuPolicy ( ) == Qt . DefaultContextMenu : self . showMenu ( event . pos ( ) ) else : super ( XOrbTreeWidget , self ) . contextMenuEvent ( event )
Handles the default menu options for the orb widget.
        
        :param      event | <QContextMenuEvent>