improvements MessagesDialog:

- filled tag list and filter the messages after the selected tag
- state of tag list is saved in settings

bugfix MessagesDialog:
- remove tag with uncheck of menu item

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3048 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-06-01 22:14:52 +00:00
parent 860f3a0568
commit 7c73ecef47
2 changed files with 217 additions and 52 deletions

View file

@ -70,6 +70,9 @@ private slots:
void msgfilelistWidgetCostumPopupMenu(QPoint);
void changeBox( int newrow );
#ifdef STATIC_MSGID
void changeTag( int newrow );
#endif
void updateCurrentMessage();
void currentChanged(const QModelIndex&);
void clicked(const QModelIndex&);
@ -139,9 +142,17 @@ private:
void setToolbarButtonStyle(Qt::ToolButtonStyle style);
#ifdef STATIC_MSGID
void createTagMenu();
void fillTags();
#endif
bool m_bProcessSettings;
bool m_bInChange;
enum { LIST_NOTHING,
LIST_BOX,
#ifdef STATIC_MSGID
LIST_TAG
#endif
} m_eListMode;
std::string mCurrCertId;
std::string mCurrMsgId;