how does the qr reader widget work?