MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / flags

Method flags

ElaWidgetToolsExample/ModelView/T_TreeViewModel.cpp:150–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150Qt::ItemFlags T_TreeViewModel::flags(const QModelIndex& index) const
151{
152 Qt::ItemFlags flags = QAbstractItemModel::flags(index);
153 flags |= Qt::ItemIsUserCheckable;
154 return flags;
155}
156
157QVariant T_TreeViewModel::headerData(int section, Qt::Orientation orientation, int role) const
158{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected