Statistics: Posted by Ze_PilOt — 13 Oct 2013, 21:21
Statistics: Posted by pip — 06 Oct 2013, 14:58
Statistics: Posted by Ze_PilOt — 06 Oct 2013, 13:22
Statistics: Posted by pip — 06 Oct 2013, 13:12
Statistics: Posted by Bliss — 12 Sep 2013, 00:12
Statistics: Posted by Ze_PilOt — 28 Aug 2013, 07:54
Statistics: Posted by ingenic — 28 Aug 2013, 04:58
Statistics: Posted by Alluminati — 23 Aug 2013, 09:36
self.checkboxes = [list of checkboxes]
def generate_stuff(index):
@QtCore.pyqtSlot(int)
def f(self, index):
handle_checkbox(index)
return f
for i in range(len(self.checkboxes)):
self.checkboxes[i].stateChanged.connect(generate_stuff(i))
Statistics: Posted by johnie102 — 17 Aug 2013, 10:44
Statistics: Posted by Alluminati — 17 Aug 2013, 03:42
Statistics: Posted by johnie102 — 08 Aug 2013, 21:49
Statistics: Posted by Alluminati — 07 Aug 2013, 17:48
Statistics: Posted by Ze_PilOt — 07 Aug 2013, 17:33