add the drag'n drop file to popup chat, still a bug when adding a directory

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1216 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-05-11 14:27:45 +00:00
parent 3698fc5a2c
commit 63be32ba4d
2 changed files with 89 additions and 4 deletions

View file

@ -85,7 +85,10 @@ public slots:
protected:
void closeEvent (QCloseEvent * event);
virtual void dragEnterEvent(QDragEnterEvent *event);
virtual void dropEvent(QDropEvent *event);
private slots:
void addExtraFile();
void showAvatarFrame(bool show);
@ -105,7 +108,8 @@ private:
void colorChanged(const QColor &c);
void updatePeerAvatar(const std::string&);
void updateAvatar();
void addAttachment(std::string);
QAction *actionTextBold;
QAction *actionTextUnderline;
QAction *actionTextItalic;
@ -127,6 +131,7 @@ private:
/** Qt Designer generated object */
Ui::PopupChatDialog ui;
};
#endif