mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 06:09:09 -04:00
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:
parent
3ff6fce00f
commit
5b4985e3d3
11 changed files with 822 additions and 167 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue