Sets the value for the combobox to the inputed value.  If the combobox 
        is in a checkable state, then the values will be checked, otherwise,
        the value will be selected.
        
        :param      value | <int>

def setCurrentValue(self, value):
        """
        Sets the value for the combobox to the inputed value.  If the combobox 
        is in a checkable state, then the values will be checked, otherwise,
        the value will be selected.
        
        :param      value | <int>
        """
        enum = self.enum()
        if not enum:
            return
        
        if self.isCheckable():
            indexes = []
            for i in range(self.count()):
                try:
                    check_value = enum[nativestring(self.itemText(i))]
                except KeyError:
                    continue
                
                if check_value & value:
                    indexes.append(i)
            self.setCheckedIndexes(indexes)
        else:
            try:
                text = enum[value]
            except (AttributeError, KeyError):
                return
            
            self.setCurrentIndex(self.findText(text))