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

Method columnCount

DSView/pv/data/decodermodel.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 return 100;
54}
55int DecoderModel::columnCount(const QModelIndex & /* parent */) const
56{
57 if (_decoder_stack)
58 return _decoder_stack->list_rows_size();
59 else
60 return 1;
61}
62
63QVariant DecoderModel::data(const QModelIndex &index, int role) const
64{

Callers 1

resize_table_viewMethod · 0.80

Calls 1

list_rows_sizeMethod · 0.80

Tested by

no test coverage detected