QmlDesigner.PropertyEditor: Use enumeration instead of value

We did change the api.

Change-Id: I0199c168bdd9d2596efc356ef909dee62dcfd5ec
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>