mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-27 18:12:21 -04:00
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:
parent
d3a3efd492
commit
40b80c4e84
3 changed files with 93 additions and 21 deletions
|
@ -43,6 +43,7 @@ public:
|
|||
|
||||
private slots:
|
||||
void showParticipantsFrame(bool show);
|
||||
void participantsTreeWidgetCostumPopupMenu( QPoint point );
|
||||
|
||||
protected:
|
||||
/** Default constructor */
|
||||
|
@ -59,9 +60,11 @@ protected:
|
|||
|
||||
protected slots:
|
||||
void changeNickname();
|
||||
void changePartipationState(QListWidgetItem *item);
|
||||
|
||||
void changePartipationState();
|
||||
|
||||
private:
|
||||
QTreeWidgetItem *getCurrentParticipant();
|
||||
|
||||
void updateParticipantsList();
|
||||
|
||||
void muteParticipant(const QString &nickname);
|
||||
|
@ -79,7 +82,7 @@ private:
|
|||
/** Ignored Users in Chatlobby by nickname until we had implemented Peer Ids in ver 0.6 */
|
||||
QStringList *mutedParticipants;
|
||||
|
||||
|
||||
QAction *muteAct;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue