def _slotValueChanged(self, property, val): if type(val)==QKeySequence: raise NotImplementedError self._valueChanged(property, QVariant(val))