# this does NOT work: self.b1[i] = QtGui.QPushButton(self.quickButtons[i]) self.ds1[i] = Roller() self.connect(self.b1[i],QtCore.SIGNAL('clicked()'),self.ds1[i].rollSlot)
# this WORKS: self.throw_b = QtGui.QPushButton("Throw") self.connect(self.throw_b,QtCore.SIGNAL('clicked()'),self.genericRoll)