Re: [PyQt] accessing variables of class
Am Donnerstag, 10. Mai 2012, 22:41:06 schrieb Enes Albay: > class C(QtGui.QPushButton): > > def __init__(self, parent, letter): > self.clicked.connect(self.handleLetter) > > def handleLetter(self): > > > > I want to do that: > > lineEdit.setText("bla bla")
[PyQt] accessing variables of class
Hi, I have problem about accessing member class variables. For example; I have 3 classes; class A(QtGui.QMainWindow): def setupUI(self): self.lineEdit = QtGui.QLineEdit() self.b = B() ... class B(QtGui.QWidget): def setupUI(self): self.C =