MCPcopy Create free account
hub / github.com/ElementsProject/elements / headerData

Method headerData

src/qt/bantablemodel.cpp:136–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136QVariant BanTableModel::headerData(int section, Qt::Orientation orientation, int role) const
137{
138 if(orientation == Qt::Horizontal)
139 {
140 if(role == Qt::DisplayRole && section < columns.size())
141 {
142 return columns[section];
143 }
144 }
145 return QVariant();
146}
147
148Qt::ItemFlags BanTableModel::flags(const QModelIndex &index) const
149{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected