Added new widget to display an avatar with or without the status frame - AvatarWidget.

Changed all existing avatars to AvatarWidget.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4589 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-09-05 21:19:07 +00:00
parent 0ed60eaf86
commit 62b2de63b7
46 changed files with 730 additions and 595 deletions

View file

@ -779,7 +779,7 @@ background: white;}</string>
<number>1</number>
</property>
<item row="0" column="0" rowspan="2">
<widget class="QToolButton" name="avatartoolButton">
<widget class="AvatarWidget" name="avatar" native="true">
<property name="minimumSize">
<size>
<width>61</width>
@ -792,24 +792,6 @@ background: white;}</string>
<height>61</height>
</size>
</property>
<property name="toolTip">
<string>Add or Change your Avatar</string>
</property>
<property name="styleSheet">
<string notr="true">QToolButton#avatartoolButton{border-image: url(:/images/mystatus_bg.png);}</string>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>43</width>
<height>43</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
@ -1566,6 +1548,12 @@ background: white;}</string>
</action>
</widget>
<customwidgets>
<customwidget>
<class>AvatarWidget</class>
<extends>QWidget</extends>
<header>gui/common/AvatarWidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>RSTabWidget</class>
<extends>QTabWidget</extends>