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

Method headerData

Misc/MultitaskControllerModel.cpp:120–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120QVariant
121MultitaskControllerModel::headerData(int s, Qt::Orientation hor, int role) const
122{
123 if (hor == Qt::Horizontal && role == Qt::DisplayRole) {
124 const char *headers[] = {
125 "Description",
126 "Creation time",
127 "Status",
128 "Rate",
129 "Progress",
130 "Actions"};
131
132 if (s >= 0 && s < 6)
133 return headers[s];
134 }
135
136 return QVariant();
137}
138
139///////////////////////////////// Slots ///////////////////////////////////////
140void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected