Hard work delivers good QP for Pedrosa