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

Method GetExportString

qrenderdoc/Windows/EventBrowser.cpp:5472–5480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5470}
5471
5472QString EventBrowser::GetExportString(int indent, bool firstchild, const QModelIndex &idx)
5473{
5474 QString prefix = QString(indent * 2 - (firstchild ? 1 : 0), QLatin1Char(' '));
5475 if(firstchild)
5476 prefix += QLatin1Char('\\');
5477
5478 return QFormatStr("%1- %2").arg(prefix).arg(
5479 RichResourceTextFormat(m_Ctx, idx.data(Qt::DisplayRole)));
5480}
5481
5482void EventBrowser::GetMaxNameLength(int &maxNameLength, int indent, bool firstchild,
5483 const QModelIndex &idx)

Callers

nothing calls this directly

Calls 5

QLatin1CharClass · 0.85
RichResourceTextFormatFunction · 0.85
QStringFunction · 0.50
argMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected