Sets whether or not the mode should be enabled.
        
        :param      mode  | <XOrbBrowserWidget.Mode>
                    state | <bool>

def setModeEnabled( self, mode, state ):
        """
        Sets whether or not the mode should be enabled.
        
        :param      mode  | <XOrbBrowserWidget.Mode>
                    state | <bool>
        """
        if ( mode == XOrbBrowserWidget.Mode.Detail ):
            self.uiDetailsACT.setEnabled(state)
        elif ( mode == XOrbBrowserWidget.Mode.Card ):
            self.uiCardACT.setEnabled(state)
        else:
            self.uiThumbnailACT.setEnabled(state)