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

Method margin_changed

DSView/pv/dock/dsotriggerdock.cpp:261–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void DsoTriggerDock::margin_changed(int margin)
262{
263 int ret;
264 ret = _session->get_device()->set_config_byte(SR_CONF_TRIGGER_MARGIN, margin);
265 if (!ret) {
266 QString strMsg(L_S(STR_PAGE_MSG, S_ID(IDS_MSG_CHANGE_SENSITIVITY_FAIL),
267 "Change trigger value sensitivity failed!"));
268 MsgBox::Show(strMsg);
269 }
270}
271
272void DsoTriggerDock::source_changed()
273{

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