Andy Murray has completed his preparations for Wimbledon in style by claiming victory at the traditional warm-up tournament at the Queen's Club.