MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / headerData

Method headerData

Misc/BookmarkTableModel.cpp:86–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86QVariant
87BookmarkTableModel::headerData(int s, Qt::Orientation hor, int role) const
88{
89 if (hor == Qt::Horizontal && role == Qt::DisplayRole) {
90 const char *headers[] = {
91 "Frequency",
92 "Bandwidth",
93 "Modulation",
94 "Color",
95 "Name",
96 "",
97 ""};
98
99 if (s >= 0 && s < 7)
100 return headers[s];
101 }
102
103 return QVariant();
104}
105
106void
107BookmarkTableModel::notifyChanged(void)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected