Re: qt4 setFlags

2007-06-14 Thread Diez B. Roggisch
luca72 schrieb: > Hello > > I make this code: > row = self.tableWidget.rowCount() > for a in range(row): > self.tableWidget.item(row, 0).setFlags(Qt.IsSelectable) > > i have this erroror : > > global name Qt is not definied import Qt might help. And reading the python tutori

qt4 setFlags

2007-06-14 Thread luca72
Hello I make this code: row = self.tableWidget.rowCount() for a in range(row): self.tableWidget.item(row, 0).setFlags(Qt.IsSelectable) i have this erroror : global name Qt is not definied Regards Luca -- http://mail.python.org/mailman/listinfo/python-list