commited rest of AsamK patch for factoring friend list.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4645 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-10-20 21:34:44 +00:00
parent c876925e57
commit 01a93b5f36
7 changed files with 155 additions and 2411 deletions

View file

@ -355,33 +355,13 @@ stop:0 #FEFEFE, stop:1 #E8E8E8);
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="0">
<widget class="QTreeWidget" name="messengertreeWidget">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
<widget class="FriendList" name="friendList" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">QTreeWidget#messengertreeWidget{
border: 1px solid #CCCCCC;
}</string>
</property>
<property name="iconSize">
<size>
<width>38</width>
<height>38</height>
</size>
</property>
<property name="indentation">
<number>22</number>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<property name="columnCount">
<number>0</number>
</property>
<attribute name="headerShowSortIndicator" stdset="0">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
@ -458,6 +438,12 @@ border: 1px solid #CCCCCC;
<header>gui/common/AvatarWidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>FriendList</class>
<extends>QWidget</extends>
<header>gui/common/FriendList.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="images.qrc"/>