MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / headerData

Method headerData

Source/GUI/StructEditor/StructSelectModel.cpp:111–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111QVariant StructSelectModel::headerData(int section, Qt::Orientation orientation, int role) const
112{
113 if (orientation == Qt::Horizontal && role == Qt::DisplayRole)
114 {
115 switch (section)
116 {
117 case WATCH_COL_LABEL:
118 return tr("Name");
119 default:
120 break;
121 }
122 }
123 return {};
124}
125
126bool StructSelectModel::setData(const QModelIndex& index, const QVariant& value, int role)
127{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected