rearranging qt