mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-12 08:33:05 -04:00
Added standard context menu to the input text in private chat, group chat and create forum message.
Added paste RetroShare link to the context menu of the text edit and file list in message composer. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3846 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
20c97680b5
commit
064b619f70
15 changed files with 260 additions and 349 deletions
|
@ -50,6 +50,7 @@ public:
|
|||
static void updateAllAvatars();
|
||||
static void privateChatChanged(int list, int type);
|
||||
|
||||
void updateStatusString(const QString& peer_id, const QString& statusString);
|
||||
void updatePeerAvatar(const std::string&);
|
||||
std::string getPeerId() { return dialogId; }
|
||||
QString getTitle() { return dialogName; }
|
||||
|
@ -60,18 +61,6 @@ public:
|
|||
void activate();
|
||||
|
||||
public slots:
|
||||
void pasteLink() ;
|
||||
void contextMenu(QPoint) ;
|
||||
|
||||
void smileyWidget();
|
||||
void addSmiley();
|
||||
|
||||
void fileHashingFinished(AttachFileItem* file);
|
||||
|
||||
void resetStatusBar() ;
|
||||
void updateStatusTyping() ;
|
||||
void updateStatusString(const QString& peer_id, const QString& statusString) ;
|
||||
|
||||
void updateStatus(const QString &peer_id, int status);
|
||||
|
||||
protected:
|
||||
|
@ -92,6 +81,17 @@ protected:
|
|||
void updateAvatar();
|
||||
|
||||
private slots:
|
||||
void pasteLink() ;
|
||||
void contextMenu(QPoint) ;
|
||||
|
||||
void fileHashingFinished(AttachFileItem* file);
|
||||
|
||||
void smileyWidget();
|
||||
void addSmiley();
|
||||
|
||||
void resetStatusBar() ;
|
||||
void updateStatusTyping() ;
|
||||
|
||||
void on_actionMessageHistory_triggered();
|
||||
void addExtraFile();
|
||||
void addExtraPicture();
|
||||
|
@ -125,7 +125,6 @@ private:
|
|||
QAction *actionTextBold;
|
||||
QAction *actionTextUnderline;
|
||||
QAction *actionTextItalic;
|
||||
QAction *pasteLinkAct ;
|
||||
|
||||
std::string dialogId;
|
||||
QString dialogName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue