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

Method load_decoder_forms

DSView/pv/dialogs/decoderoptionsdlg.cpp:264–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264void DecoderOptionsDlg::load_decoder_forms(QWidget *container)
265{
266 using pv::data::decode::Decoder;
267 assert(container);
268
269 int dex = 0;
270
271 for(auto dec : _trace->decoder()->stack())
272 {
273 ++dex;
274 QWidget *panel = new QWidget(container);
275 QFormLayout *form = new QFormLayout();
276 form->setContentsMargins(0,0,0,0);
277 panel->setLayout(form);
278 container->layout()->addWidget(panel);
279
280 create_decoder_form(dec, panel, form);
281
282 _contentHeight += panel->sizeHint().height();
283 }
284}
285
286
287DsComboBox* DecoderOptionsDlg::create_probe_selector(

Callers

nothing calls this directly

Calls 2

layoutMethod · 0.80
decoderMethod · 0.45

Tested by

no test coverage detected