| 1990 | } |
| 1991 | |
| 1992 | void |
| 1993 | TimeWindow::onQuadDemod(void) |
| 1994 | { |
| 1995 | if (!this->ui->realWaveform->isComplete()) |
| 1996 | return; |
| 1997 | |
| 1998 | try { |
| 1999 | const SUCOMPLEX *orig; |
| 2000 | SUCOMPLEX *dest; |
| 2001 | SUSCOUNT len; |
| 2002 | |
| 2003 | this->getTransformRegion( |
| 2004 | orig, |
| 2005 | dest, |
| 2006 | len, |
| 2007 | this->ui->transSelCheck->isChecked()); |
| 2008 | |
| 2009 | QuadDemodTask *task = new QuadDemodTask(orig, dest, len); |
| 2010 | |
| 2011 | this->notifyTaskRunning(true); |
| 2012 | this->taskController.process("quadDemod", task); |
| 2013 | } catch (Suscan::Exception &e) { |
| 2014 | QMessageBox::warning( |
| 2015 | this, |
| 2016 | "Quadrature demodulator", |
| 2017 | "Cannot perform operation: " + QString(e.what())); |
| 2018 | } |
| 2019 | } |
| 2020 | |
| 2021 | void |
| 2022 | TimeWindow::onAGC(void) |
nothing calls this directly
no test coverage detected