MCPcopy Create free account
hub / github.com/baldurk/renderdoc / GetChild

Method GetChild

qrenderdoc/Code/MiniQtHelper.cpp:159–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159QWidget *MiniQtHelper::GetChild(QWidget *parent, int32_t index)
160{
161 if(!parent)
162 return NULL;
163
164 QLayout *layout = parent->layout();
165 if(!layout)
166 return NULL;
167
168 QLayoutItem *item = layout->itemAt(index);
169 if(!item)
170 return NULL;
171
172 return item->widget();
173}
174
175void MiniQtHelper::DestroyWidget(QWidget *widget)
176{

Callers 9

CreateMappingMethod · 0.45
SDObject2VariantFunction · 0.45
indexMethod · 0.45
parentMethod · 0.45
rowCountMethod · 0.45
dataMethod · 0.45
DelPyObjectMethod · 0.45
DelPyObjectMethod · 0.45
check_captureMethod · 0.45

Calls 3

layoutMethod · 0.80
itemAtMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected