GUI modifications to incorporate RecognTags.

- Enable EditDialog for own Ids.
	- Addition, parsing and removal of Tags in IdEditDialog.
	- Display of Tags (only text) in GxsId Label/Chooser/TreewidgetItem ..

TODO:
	- Add icon sets for RecognTags.
	- display of Tags as Icons.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2013-10-20 09:56:12 +00:00
parent fc58861447
commit 2ce92da8ad
8 changed files with 507 additions and 174 deletions

View file

@ -71,6 +71,16 @@ static bool MakeIdDesc(const RsGxsId &id, QString &str)
str = QString::fromUtf8(details.mNickname.c_str());
std::list<RsRecognTag>::iterator it;
for(it = details.mRecognTags.begin(); it != details.mRecognTags.end(); it++)
{
str += " (";
str += QString::number(it->tag_class);
str += ":";
str += QString::number(it->tag_type);
str += ")";
}
bool addCode = true;
if (details.mPgpLinked)
{