tag feature in MessagesDialog

its disabled until the msgId is static

uncomment the define STATIC_MSGID in MessagesDialog.h for testing 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3010 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-05-27 19:48:52 +00:00
parent 3ff6fce00f
commit 5b4985e3d3
11 changed files with 822 additions and 167 deletions

View file

@ -27,22 +27,34 @@
#include "configpage.h"
#include "ui_MessagePage.h"
#include "NewTag.h"
class MessagePage : public ConfigPage
{
public:
MessagePage(QWidget * parent = 0, Qt::WFlags flags = 0);
~MessagePage();
Q_OBJECT
public:
MessagePage(QWidget * parent = 0, Qt::WFlags flags = 0);
~MessagePage();
/** Saves the changes on this page */
bool save(QString &errmsg);
/** Loads the settings for this page */
void load();
private:
private slots:
void addTag();
void editTag();
void deleteTag();
void closeEvent (QCloseEvent * event);
void currentRowChangedTag(int row);
Ui::MessagePage ui;
private:
void closeEvent (QCloseEvent * event);
std::map<int, TagItem> m_TagItems;
Ui::MessagePage ui;
};
#endif // !MESSAGEPAGE_H