main.py
def generate_qrcode(self):
        """This method generates qrcode on the bases of string that user has entered"""

        qr = pyqrcode.create(self.lineEdit.text())      # to pass entered string by user which is located in lineEdit
        qr.png("qr_code.png", scale=3)
This method generates qrcode on the bases of string that user has entered
This method generates qrcode on the bases of string that user has entered
This method generates qrcode on the bases of string that user has entered
def generate_qrcode(self):
        qr = pyqrcode.create(self.lineEdit.text())      
        qr.png("qr_code.png", scale=3)
def generate_qrcode ( self ) : qr = pyqrcode . create ( self . lineEdit . text ( ) ) qr . png ( "qr_code.png" , scale = 3 )
This method generates qrcode on the bases of string that user has entered
This method generates qrcode on the bases of string that user has entered
"""This method generates qrcode on the bases of string that user has entered""" # to pass entered string by user which is located in lineEdit

self