Search and replace : Diagram properties can be changed (and mass changed) through the search and replace widget.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5564 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2018-10-21 09:54:59 +00:00
parent 0bc34cfb6d
commit 94dc195028
16 changed files with 1163 additions and 166 deletions

View File

@@ -20,6 +20,21 @@
#include "qet.h"
#include <algorithm>
/**
* @brief DiagramContext::add
* Add all value of @other to this.
* If a key already exist, the value is replaced.
* If a key doesn't exist, she will be added.
* All other keys of this context, which are not present in @other, stay unchanged.
* @param other
*/
void DiagramContext::add(DiagramContext other)
{
for (QString key : other.keys()) {
addValue(key, other.value(key));
}
}
/**
@return a list containing all the keys in the context object.
*/