made adjustments to qfloatelement