display contacts URL in qhavesex

This commit is contained in:
Christophe Benz 2010-11-17 18:42:50 +01:00
commit cb5502f1d9
2 changed files with 8 additions and 4 deletions

View file

@ -237,6 +237,7 @@ class ContactProfile(QWidget):
self.ui.nicknameLabel.setText('<h1>%s</h1>' % contact.name)
self.ui.statusLabel.setText('%s' % contact.status_msg)
self.ui.contactURLEdit.setText('%s' % contact.url)
if contact.summary is NotLoaded:
self.ui.descriptionEdit.setText('<h1>Description</h1><p><i>Receiving...</i></p>')
missing_fields.add('summary')

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>460</width>
<height>320</height>
<width>576</width>
<height>647</height>
</rect>
</property>
<property name="windowTitle">
@ -33,8 +33,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>460</width>
<height>320</height>
<width>576</width>
<height>647</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
@ -114,6 +114,9 @@
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="contactURLEdit"/>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">