Panning with qtdesigner