mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 22:30:42 -04:00
Added to Send RetroShare link as html format for Messages
Added to can download from Messages when clicked on link. Added when start connection attempt then change icon on location. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e70e995894
commit
84447a6304
8 changed files with 103 additions and 3 deletions
|
@ -215,6 +215,7 @@ ChanMsgDialog::ChanMsgDialog(bool msg, QWidget *parent, Qt::WFlags flags)
|
|||
_smheader->resizeSection ( 3, 220 );
|
||||
_smheader->resizeSection ( 4, 10 );
|
||||
|
||||
|
||||
/* Hide platform specific features */
|
||||
#ifdef Q_WS_WIN
|
||||
|
||||
|
@ -533,6 +534,11 @@ void ChanMsgDialog::insertMsgText(std::string msg)
|
|||
ui.msgText->setText(QString::fromStdString(msg));
|
||||
}
|
||||
|
||||
void ChanMsgDialog::insertHtmlText(std::string msg)
|
||||
{
|
||||
ui.msgText->setHtml(QString("<a href='") + QString::fromStdString(std::string(msg + "'> ") ) + QString::fromStdString(std::string(msg)) + "</a>") ;
|
||||
}
|
||||
|
||||
|
||||
void ChanMsgDialog::sendMessage()
|
||||
{
|
||||
|
|
|
@ -56,6 +56,7 @@ void insertFileList(const std::list<DirDetails>&); /* for Both */
|
|||
void insertTitleText(std::string title);
|
||||
void insertPastedText(std::string msg) ;
|
||||
void insertForwardPastedText(std::string msg);
|
||||
void insertHtmlText(std::string msg);
|
||||
void insertMsgText(std::string msg);
|
||||
void addRecipient(std::string id) ;
|
||||
void Create_New_Image_Tag( const QString urlremoteorlocal );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue