Hi, how to save a plot (created by QWT) to a .jpg file?

Cheers
JIA