[utils] adjust pixel
[qt] fix range based for