| 344 | } |
| 345 | |
| 346 | void 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 | |
| 361 | void DsoTriggerDock::device_change() |
| 362 | { |
nothing calls this directly
no test coverage detected