[qcineoob] casting almost done

This commit is contained in:
Julien Veyssier 2013-03-11 20:26:03 +01:00
commit a7be6ee6f4
6 changed files with 81 additions and 19 deletions

View file

@ -35,12 +35,12 @@ class MiniPerson(QFrame):
self.weboob = weboob
self.backend = backend
self.person = person
self.ui.nameLabel.setText(person.name)
self.ui.shortDescLabel.setText(person.short_description)
self.ui.nameLabel.setText('%s'%person.name)
self.ui.shortDescLabel.setText('%s'%person.short_description)
self.ui.backendLabel.setText(backend.name)
self.process_thumbnail = QtDo(self.weboob, self.gotThumbnail)
self.process_thumbnail.do('fillobj', self.person, ['thumbnail_url'], backends=backend)
#self.process_thumbnail = QtDo(self.weboob, self.gotThumbnail)
#self.process_thumbnail.do('fillobj', self.person, ['thumbnail_url'], backends=backend)
def gotThumbnail(self, backend, person):
if self.person.thumbnail_url != NotAvailable: