def __init__(self, param, parent=None):
        contents = param.strValue
        contentType = param.type
        QtGui.QComboBox.__init__(self, parent)
        ConstantWidgetMixin.__init__(self, param.strValue)
        # want to look up in registry based on parameter type
        
        self.addItem('')
        for val in self.param_values:
            self.addItem(val)

        curIdx = self.findText(contents)
        if curIdx != -1:
            self.setCurrentIndex(curIdx)
        self._contentType = contentType
        self.connect(self,
                     QtCore.SIGNAL('currentIndexChanged(int)'),
                     self.update_parent)
__init__(param: core.vistrail.module_param.ModuleParam,
dataset/ETHPy150Open VisTrails/VisTrails/contrib/sahm/enum_widget.py/EnumWidget.__init__