MCPcopy Create free account
hub / github.com/Vector35/debugger / headerData

Method headerData

ui/stackwidget.cpp:188–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186
187
188QVariant DebugStackListModel::headerData(int column, Qt::Orientation orientation, int role) const
189{
190 if (role != Qt::DisplayRole)
191 return QVariant();
192
193 if (orientation == Qt::Vertical)
194 return QVariant();
195
196 switch (column)
197 {
198 case DebugStackListModel::OffsetColumn:
199 return "Offset";
200 case DebugStackListModel::AddressColumn:
201 return "Address";
202 case DebugStackListModel::ValueColumn:
203 return "Value";
204 case DebugStackListModel::HintColumn:
205 return "Hint";
206 }
207 return QVariant();
208}
209
210
211void DebugStackListModel::updateRows(std::vector<DebugStackItem> newRows)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected