Dynamic element text item can display information of parent element

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5010 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-08-06 10:18:33 +00:00
parent 31f36b8625
commit 6e2ed873bb
9 changed files with 200 additions and 43 deletions

View File

@@ -74,6 +74,10 @@ bool DiagramContext::addValue(const QString &key, const QVariant &value, bool sh
return(false);
}
QVariant DiagramContext::value(const QString &key) const {
return m_content.value(key);
}
/**
Clear the content of this diagram context.
*/