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

Method headerData

Source/GUI/MemWatcher/MemWatchModel.cpp:621–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619}
620
621QVariant MemWatchModel::headerData(int section, Qt::Orientation orientation, int role) const
622{
623 if (orientation == Qt::Horizontal && role == Qt::DisplayRole)
624 {
625 switch (section)
626 {
627 case WATCH_COL_LABEL:
628 return tr("Name");
629 case WATCH_COL_TYPE:
630 return tr("Type");
631 case WATCH_COL_ADDRESS:
632 return tr("Address");
633 case WATCH_COL_VALUE:
634 return tr("Value");
635 case WATCH_COL_LOCK:
636 return tr("Lock");
637 default:
638 break;
639 }
640 }
641 return {};
642}
643
644Qt::DropActions MemWatchModel::supportedDropActions() const
645{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected