Hi, when i change class A(QtGui.QMainWindow): .... def setupUI(self): self.lineEdit = QtGui.QLineEdit() self.b = B() self.b.c.clicked.connect(self.handleLetter) ... def handleLetter(self): self.lineEdit.setText("Hello") there is no compilation or running error. But, lineEdit text doesn't change, nothing happening.