def setModelData(self, model, index): model.setData(index, LEUtils.boolToStr(self.check.isChecked()), QtCore.Qt.EditRole)
def computeValueText(self): return LEUtils.boolToStr( self.flagsItem.prop.hasFlags(self.spawnFlag.value))