| 199 | } |
| 200 | |
| 201 | void 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 | |
| 212 | void ViewStatus::mousePressEvent(QMouseEvent *event) |
| 213 | { |
no outgoing calls
no test coverage detected