Re: unbound method () must be called with ... instance as first argument (got nothing instead)

2013-09-03 Thread Mohsen Pahlevanzadeh
Solved, i changed my connect function to: QtCore.QObject.connect(self.pushButtonAdd, QtCore.SIGNAL(_fromUtf8("clicked()")),self.showHideConstructor.showFindMaterials) On Wed, 2013-09-04 at 02:00 +0430, Mohsen Pahlevanzadeh wrote: > Dear all, > > I have the following two lines code in my setup fram

unbound method () must be called with ... instance as first argument (got nothing instead)

2013-09-03 Thread Mohsen Pahlevanzadeh
Dear all, I have the following two lines code in my setup frame: // self.showHideConstructor = ui.interface.interface.ShowHide() QtCore.QObject.connect(self.pushButtonAdd, QtCore.SIGNAL(_fromUtf8("clicked()")),self.showHideConstructor,ui.interface.interface.ShowHide.showFin