mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user