view python code in qt designer code example Example: python library to make qr codes import qrcode img = qrcode.make('Some data here')