Added StatusMessage Dialog

Added functionality to store own status to chat.cfg and to gui settings
Added timers for update own status/avatar faster
Edited ProfileWidget to open from there the StatusMessage Dialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1697 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-09-29 22:52:46 +00:00
parent 396058c665
commit 0f27feea63
10 changed files with 699 additions and 229 deletions

View file

@ -25,6 +25,7 @@
#include <QFileDialog>
#include "chat/PopupChatDialog.h"
#include <gui/Preferences/rsharesettings.h>
#include "mainpage.h"
#include "ui_PeersDialog.h"
@ -65,7 +66,7 @@ public slots:
void smileyWidgetgroupchat();
void addSmileys();
void on_actionClearChat_triggered();
void on_actionClearChat_triggered();
void displayInfoChatMenu(const QPoint& pos);
void updatePeerStatusString(const QString& peer_id,const QString& status_string,bool is_private_chat) ;
@ -112,6 +113,8 @@ private slots:
void on_actionAdd_Friend_activated();
void on_actionCreate_new_Profile_activated();
void loadmypersonalstatus();
signals:
@ -153,6 +156,9 @@ private:
std::map<std::string, PopupChatDialog *> chatDialogs;
QFont mCurrentFont; /* how the text will come out */
/** A RshareSettings object used for saving/loading settings */
RshareSettings* _settings;
/** Qt Designer generated object */
Ui::PeersDialog ui;