finish draw qrcode view function