MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / headerData

Method headerData

DSView/pv/data/decodermodel.cpp:82–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82QVariant DecoderModel::headerData(int section,
83 Qt::Orientation orientation,
84 int role) const
85{
86 if (role != Qt::DisplayRole)
87 return QVariant();
88
89 if (orientation == Qt::Vertical)
90 return section;
91
92 if (_decoder_stack) {
93 QString title;
94 if (_decoder_stack->list_row_title(section, title))
95 return title;
96 }
97 return QVariant();
98}
99
100} // namespace data
101} // namespace pv

Callers

nothing calls this directly

Calls 1

list_row_titleMethod · 0.80

Tested by

no test coverage detected