> for index, value in enumerate(mylinelist):
> getattr(self, "line%d" % (index + 1)).setText(value)

Thanks ! This was the line which did it ....
The correct code snippet now reads :

# set the lineedits of the QT gui
for index,value in enumerate(self.mylinelist):
   getattr(self, "lineEdit%d" % (index + 1)).setText(self.tr(value))


Nx
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to