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

Method headerData

qrenderdoc/Code/QRDUtils.cpp:3928–3937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3926}
3927
3928QVariant StructuredDataItemModel::headerData(int section, Qt::Orientation orientation, int role) const
3929{
3930 if(orientation == Qt::Horizontal && role == Qt::DisplayRole)
3931 {
3932 if(section < m_ColumnNames.count())
3933 return m_ColumnNames[section];
3934 }
3935
3936 return QVariant();
3937}
3938
3939Qt::ItemFlags StructuredDataItemModel::flags(const QModelIndex &index) const
3940{

Callers

nothing calls this directly

Calls 2

QVariantClass · 0.50
countMethod · 0.45

Tested by

no test coverage detected