MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / type_changed

Method type_changed

DSView/pv/dock/dsotriggerdock.cpp:346–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346void DsoTriggerDock::type_changed()
347{
348 int id = _type_group->checkedId();
349 int ret;
350
351 ret = _session->get_device()->set_config_byte(
352 SR_CONF_TRIGGER_SLOPE,
353 id);
354 if (!ret) {
355 QString strMsg(L_S(STR_PAGE_MSG, S_ID(IDS_MSG_CHANGE_TYPE_FAIL),
356 "Change trigger type failed!"));
357 MsgBox::Show(strMsg);
358 }
359}
360
361void DsoTriggerDock::device_change()
362{

Callers

nothing calls this directly

Calls 3

ShowFunction · 0.85
set_config_byteMethod · 0.80
get_deviceMethod · 0.80

Tested by

no test coverage detected