fixed bug when initializing QFloatElement from json; added init method with default fl...

...oat value 0.0