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

Method rowCount

qrenderdoc/Windows/Dialogs/ConfigEditor.cpp:116–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 int rowCount(const QModelIndex &parent = QModelIndex()) const override
117 {
118 SDObject *o = obj(parent);
119
120 // values don't have children
121 if(o->FindChild("value"))
122 return 0;
123
124 return (int)o->NumChildren();
125 }
126
127 enum Columns
128 {

Callers 2

addProcessorMethod · 0.45
fillProcessListMethod · 0.45

Calls 1

QModelIndexClass · 0.50

Tested by

no test coverage detected