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

Method selectObject

core/probe.cpp:889–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887}
888
889void Probe::selectObject(QObject *object, const QPoint &pos)
890{
891 const auto tools = m_toolManager->toolsForObject(object);
892 m_toolManager->selectTool(tools.value(0));
893 emit objectSelected(object, pos);
894}
895
896void Probe::selectObject(QObject *object, const QString &toolId, const QPoint &pos)
897{

Callers 15

navigateToSenderMethod · 0.45
navigateToReceiverMethod · 0.45
QuickTextureTestClass · 0.45
testDFGrabMethod · 0.45
testIntegrationMethod · 0.45
QuickMaterialTestClass · 0.45
testDynamicShaderMethod · 0.45
testProbeSideMethod · 0.45
testToolSelectedMethod · 0.45

Calls 4

toolsForObjectMethod · 0.80
hasToolMethod · 0.80
selectToolMethod · 0.45
valueMethod · 0.45

Tested by 11

testDFGrabMethod · 0.36
testIntegrationMethod · 0.36
testDynamicShaderMethod · 0.36
testProbeSideMethod · 0.36
testToolSelectedMethod · 0.36
pickElementIdMethod · 0.36
eventFilterMethod · 0.36
eventFilterMethod · 0.36