python pyqt5 qlineedit readonly code example Example: pyqt5 qlineedit on change self.MyInput.textChanged.connect(self.doSomething)