qtcore format and repositioning