mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 06:09:09 -04:00
fixed icons in chat lobbies
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6160 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c13192b4c3
commit
061a8113bb
6 changed files with 89 additions and 36 deletions
|
@ -10,6 +10,13 @@ class ChatTabWidget ;
|
|||
class ChatLobbyDialog ;
|
||||
class QTextBrowser ;
|
||||
|
||||
struct ChatLobbyInfoStruct
|
||||
{
|
||||
QIcon default_icon ;
|
||||
ChatLobbyDialog *dialog ;
|
||||
time_t last_typing_event ;
|
||||
};
|
||||
|
||||
class ChatLobbyWidget : public RsAutoUpdatePage, Ui::ChatLobbyWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -41,6 +48,9 @@ protected slots:
|
|||
void unsubscribeChatLobby(ChatLobbyId id) ;
|
||||
void updateTypingStatus(ChatLobbyId id) ;
|
||||
void resetLobbyTreeIcons() ;
|
||||
void updateMessageChanged(ChatLobbyId);
|
||||
void updatePeerEntering(ChatLobbyId);
|
||||
void updatePeerLeaving(ChatLobbyId);
|
||||
|
||||
private:
|
||||
RSTreeWidgetItemCompareRole *compareRole;
|
||||
|
@ -50,7 +60,7 @@ private:
|
|||
|
||||
ChatTabWidget *tabWidget ;
|
||||
|
||||
std::map<ChatLobbyId,ChatLobbyDialog*> _lobby_dialogs ;
|
||||
std::map<ChatLobbyId,ChatLobbyInfoStruct> _lobby_infos ;
|
||||
QTextBrowser *_lobby_blank_page ;
|
||||
|
||||
std::map<QTreeWidgetItem*,time_t> _icon_changed_map ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue