[qcineoob] cosmetics
This commit is contained in:
parent
23dde42186
commit
5ce13703dd
4 changed files with 22 additions and 4 deletions
|
|
@ -35,7 +35,13 @@ class MiniPerson(QFrame):
|
|||
self.backend = backend
|
||||
self.person = person
|
||||
self.ui.nameLabel.setText('%s'%person.name)
|
||||
self.ui.shortDescLabel.setText('%s'%person.short_description)
|
||||
if person.short_description != NotAvailable:
|
||||
if unicode(self.parent.ui.currentActionLabel.text()).startswith('Casting'):
|
||||
self.ui.shortDescTitleLabel.setText(u'Role')
|
||||
self.ui.shortDescLabel.setText('%s'%person.short_description)
|
||||
else:
|
||||
self.ui.shortDescTitleLabel.hide()
|
||||
self.ui.shortDescLabel.hide()
|
||||
self.ui.backendLabel.setText(backend.name)
|
||||
|
||||
def gotThumbnail(self, backend, person):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue