| 171 | } |
| 172 | |
| 173 | QRectF |
| 174 | NodeGraphPrivate::calcNodesBoundingRect() |
| 175 | { |
| 176 | QRectF ret; |
| 177 | QMutexLocker l(&_nodesMutex); |
| 178 | |
| 179 | for (NodesGuiList::iterator it = _nodes.begin(); it != _nodes.end(); ++it) { |
| 180 | if ( (*it)->isVisible() ) { |
| 181 | ret = ret.united( (*it)->boundingRectWithEdges() ); |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | return ret; |
| 186 | } |
| 187 | |
| 188 | void |
| 189 | NodeGraphPrivate::resetAllClipboards() |
no test coverage detected