Changed style of the reply/forwarded message.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-05-04 23:39:36 +00:00
parent 173ce82099
commit 2611da2f72
10 changed files with 296 additions and 175 deletions

View file

@ -32,6 +32,7 @@ class QFontComboBox;
class QTextEdit;
class QTextCharFormat;
class RSTreeWidgetItemCompareRole;
struct MessageInfo;
class MessageComposer : public QMainWindow
{
@ -57,16 +58,13 @@ public:
static MessageComposer *forwardMsg(const std::string &msgId);
/* worker fns */
void insertFileList(const std::list<DirDetails>&);
void insertFileList(const std::list<FileInfo>&);
void setFileList(const std::list<DirDetails>&);
void setFileList(const std::list<FileInfo>&);
void addFile(const FileInfo &fileInfo);
void insertTitleText(const QString &title, enumMessageType type = NORMAL);
void insertPastedText(QString msg) ;
void insertForwardPastedText(QString msg);
void insertHtmlText(const QString &msg);
void insertMsgText(const QString &msg, bool asHtml = false);
void setTitleText(const QString &title, enumMessageType type = NORMAL);
void setQuotedMsg(const QString &msg, const QString &header);
void setMsgText(const QString &msg, bool asHtml = false);
void addRecipient(enumType type, const std::string &id, bool group);
void Create_New_Image_Tag(const QString urlremoteorlocal);
public slots:
/* actions to take.... */
@ -145,6 +143,8 @@ private slots:
void tagRemoveAll();
private:
static QString buildReplyHeader(const MessageInfo &msgInfo);
void processSettings(bool bLoad);
void addContact(enumType type);
@ -176,6 +176,8 @@ private:
void clearTagLabels();
void showTagLabels();
void Create_New_Image_Tag(const QString urlremoteorlocal);
QAction *actionSave,
*actionAlignLeft,
*actionAlignCenter,