MCPcopy Create free account
hub / github.com/KDAB/GammaRay / sgNodeForItem

Method sgNodeForItem

plugins/quickinspector/quickscenegraphmodel.cpp:405–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405QSGNode *QuickSceneGraphModel::sgNodeForItem(QQuickItem *item) const
406{
407 auto it = m_itemItemNodeMap.find(item);
408 if (it != m_itemItemNodeMap.end()) {
409 return it->second;
410 }
411 return nullptr;
412}
413
414QQuickItem *QuickSceneGraphModel::itemForSgNode(QSGNode *node) const
415{

Callers 1

itemSelectionChangedMethod · 0.80

Calls 1

endMethod · 0.80

Tested by 1

itemSelectionChangedMethod · 0.64