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

Method headerData

ElaWidgetToolsExample/ModelView/T_TreeViewModel.cpp:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157QVariant T_TreeViewModel::headerData(int section, Qt::Orientation orientation, int role) const
158{
159 if (orientation == Qt::Horizontal && role == Qt::DisplayRole)
160 {
161 return QString("项目资源");
162 }
163 return QAbstractItemModel::headerData(section, orientation, role);
164}
165
166int T_TreeViewModel::getItemCount() const
167{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected