| 563 | } |
| 564 | |
| 565 | void QKeyRecord::procKeyRecordStop(bool clicked) |
| 566 | { |
| 567 | if (QKeyMapper_Worker::s_KeyRecording) { |
| 568 | #ifdef DEBUG_LOGOUT_ON |
| 569 | QString debugmessage = QString("[QKeyRecord::procKeyRecordStop] \"%1\" Key pressed on key record START state, Stop Key Record.").arg(KEY_RECORD_STOP_STR); |
| 570 | qDebug().nospace().noquote() << "\033[1;34m" << debugmessage << "\033[0m"; |
| 571 | #endif |
| 572 | if (clicked) { |
| 573 | #ifdef DEBUG_LOGOUT_ON |
| 574 | qDebug().nospace().noquote() << "[QKeyRecord::procKeyRecordStop] Stop key record by click."; |
| 575 | #endif |
| 576 | } |
| 577 | ui->mergeKeyActionsCheckBox->setEnabled(true); |
| 578 | ui->ignoreWaitTimeCheckBox->setEnabled(true); |
| 579 | QKeyMapper_Worker::keyRecordStop(); |
| 580 | setKeyRecordLabel(KEYRECORD_STATE_STOP); |
| 581 | QKeyMapper_Worker::collectRecordKeysList(clicked); |
| 582 | emit updateKeyRecordLineEdit_Signal(true); |
| 583 | // close(); |
| 584 | } |
| 585 | } |
| 586 | |
| 587 | bool QKeyRecord::event(QEvent *event) |
| 588 | { |
nothing calls this directly
no outgoing calls
no test coverage detected