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

Method set_capture_status

DSView/pv/view/viewstatus.cpp:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void ViewStatus::set_capture_status(bool triggered, int progess)
202{
203 if (triggered) {
204 _capture_status = L_S(STR_PAGE_DLG, S_ID(IDS_DLG_TRIGGERED), "Triggered! ") + QString::number(progess)
205 + L_S(STR_PAGE_DLG, S_ID(IDS_DLG_CAPTURED), "% Captured");
206 } else {
207 _capture_status = L_S(STR_PAGE_DLG, S_ID(IDS_DLG_WAITING_FOR_TRIGGER), "Waiting for Trigger! ") + QString::number(progess)
208 + L_S(STR_PAGE_DLG, S_ID(IDS_DLG_CAPTURED), "% Captured");
209 }
210}
211
212void ViewStatus::mousePressEvent(QMouseEvent *event)
213{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected