Sets the view mode for this widget to the inputed mode.
        
        :param      viewMode | <QListWidget.ViewMode>

def setViewMode( self, viewMode ):
        """
        Sets the view mode for this widget to the inputed mode.
        
        :param      viewMode | <QListWidget.ViewMode>
        """
        ddrop_mode = self.dragDropMode()
        super(XMultiTagEdit, self).setViewMode(viewMode)
        self.setDragDropMode(ddrop_mode)