add input text box pyside2 example Example: how to get input from pyqt line edit userinput = self.lineditname.text()