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

Method flags

Source/GUI/StructEditor/StructDetailModel.cpp:111–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111Qt::ItemFlags StructDetailModel::flags(const QModelIndex& index) const
112{
113 if (!index.isValid())
114 return Qt::ItemIsDropEnabled;
115
116 Qt::ItemFlags flags =
117 Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsDragEnabled | Qt::ItemIsDropEnabled;
118
119 if (index.column() == STRUCT_COL_LABEL && !m_fields[index.row()]->isPadding())
120 flags |= Qt::ItemIsEditable;
121
122 return flags;
123}
124
125Qt::DropActions StructDetailModel::supportedDropActions() const
126{

Callers

nothing calls this directly

Calls 1

isPaddingMethod · 0.80

Tested by

no test coverage detected