redesigned the Chatlobby participants list

- used now QTreeWidget instead of a QListWidget
- added icons for display the muted participants
- added context menu for "Mute participant" ( context menu fix from thunder)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5818 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2012-11-14 14:39:08 +00:00
parent d3a3efd492
commit 40b80c4e84
3 changed files with 93 additions and 21 deletions

View file

@ -115,7 +115,40 @@
<number>3</number>
</property>
<item>
<widget class="QListWidget" name="participantsList"/>
<widget class="QTreeWidget" name="participantsList">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="animated">
<bool>true</bool>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="headerHidden">
<bool>false</bool>
</property>
<attribute name="headerVisible">
<bool>true</bool>
</attribute>
<attribute name="headerVisible">
<bool>true</bool>
</attribute>
<column>
<property name="text">
<string>Participants</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>