adding example of how to convert QImage to QPixmap