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

Method mapToSource

qrenderdoc/Windows/LogView.cpp:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const override
195 {
196 int row = -1;
197 if(proxyIndex.row() >= 0 && proxyIndex.row() < m_VisibleRows.count())
198 row = m_VisibleRows[proxyIndex.row()];
199
200 return sourceModel()->index(row, proxyIndex.column());
201 }
202
203 virtual int rowCount(const QModelIndex &parent = QModelIndex()) const override
204 {

Callers 6

messages_contextMenuMethod · 0.45
currentDirMethod · 0.45
on_dirList_clickedMethod · 0.45
on_filename_keyPressMethod · 0.45
TriggerCaptureMethod · 0.45

Calls 4

rowMethod · 0.45
countMethod · 0.45
indexMethod · 0.45
columnMethod · 0.45

Tested by

no test coverage detected