code: def getComboValue(combo):
      
      dataType = unwrapVariant(combo.property('dataType'))
      
      if dataType == 'string':
          return combo.currentText()
      elif dataType == 'data':
          return unwrapVariant(combo.itemData(combo.currentIndex()))
      return combo.currentIndex()
docs: Checks to see if there is a dataType custom property set to determine 
      whether to return an integer or a string.
      
      :param      combo | <QComboBox>
      
      :return     <int> || <str>