| 215 | } |
| 216 | |
| 217 | void DsoTriggerDock::pos_changed(int pos) |
| 218 | { |
| 219 | int ret; |
| 220 | ret = _session->get_device()->set_config_byte( |
| 221 | SR_CONF_HORIZ_TRIGGERPOS,pos); |
| 222 | if (!ret) { |
| 223 | if (_session->get_device()->is_hardware() || true){ |
| 224 | QString strMsg(L_S(STR_PAGE_MSG, S_ID(IDS_MSG_CHANGE_HOR_TRI_POS_FAIL), |
| 225 | "Change horiz trigger position failed!")); |
| 226 | |
| 227 | MsgBox::Show(strMsg); |
| 228 | } |
| 229 | |
| 230 | return; |
| 231 | } |
| 232 | set_trig_pos(pos); |
| 233 | } |
| 234 | |
| 235 | void DsoTriggerDock::hold_changed(int hold) |
| 236 | { |
nothing calls this directly
no test coverage detected