MCPcopy Create free account
hub / github.com/dannagle/PacketSender / headerData

Method headerData

src/packetlogmodel.cpp:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16QVariant PacketLogModel::headerData(int section, Qt::Orientation orientation, int role) const
17{
18 if (role == Qt::DisplayRole)
19 {
20 if (orientation == Qt::Horizontal) {
21 return tableHeaders.at(section);
22 }
23 }
24 return QVariant();
25}
26
27int PacketLogModel::rowCount(const QModelIndex &parent) const
28{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected