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

Method rowCount

qrenderdoc/Windows/ResourceInspector.cpp:69–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68 QModelIndex parent(const QModelIndex &index) const override { return QModelIndex(); }
69 int rowCount(const QModelIndex &parent = QModelIndex()) const override
70 {
71 return m_Ctx.GetResources().count();
72 }
73 int columnCount(const QModelIndex &parent = QModelIndex()) const override { return 1; }
74 Qt::ItemFlags flags(const QModelIndex &index) const override
75 {

Callers

nothing calls this directly

Calls 3

QModelIndexClass · 0.50
countMethod · 0.45
GetResourcesMethod · 0.45

Tested by

no test coverage detected