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

Method list_row_title

DSView/pv/data/decoderstack.cpp:353–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351
352
353bool DecoderStack::list_row_title(int row, QString &title)
354{
355 for (auto i = _rows.begin();i != _rows.end(); i++) {
356 auto iter = _rows_lshow.find((*i).first);
357 if (iter != _rows_lshow.end() && (*iter).second) {
358 if (row-- == 0) {
359 title = (*i).first.title();
360 return 1;
361 }
362 }
363 }
364 return 0;
365}
366
367void DecoderStack::clear()
368{

Callers 1

headerDataMethod · 0.80

Calls 2

endMethod · 0.45
titleMethod · 0.45

Tested by

no test coverage detected