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

Method headerData

ElaWidgetToolsExample/ModelView/T_TableViewModel.cpp:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 {
112 return _iconList[index.row() % 9];
113 }
114 else if (role == Qt::DecorationPropertyRole)
115 {
116 return Qt::AlignCenter;
117 }
118 else if (role == Qt::TextAlignmentRole && index.column() == 4)
119 {
120 return Qt::AlignCenter;
121 }
122 return QVariant();
123}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected