mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 02:55:18 -04:00
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:
parent
fc58861447
commit
2ce92da8ad
8 changed files with 507 additions and 174 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue