| 32 | using namespace SigDigger; |
| 33 | |
| 34 | RMSViewTab::RMSViewTab(QWidget *parent, QTcpSocket *socket) : |
| 35 | QWidget(parent), |
| 36 | socket(socket), |
| 37 | ui(new Ui::RMSViewTab) |
| 38 | { |
| 39 | setlocale(LC_ALL, "C"); |
| 40 | |
| 41 | this->ui->setupUi(this); |
| 42 | |
| 43 | this->ui->waveform->setData(&this->data); |
| 44 | this->ui->waveform->setHorizontalUnits("s"); |
| 45 | this->ui->waveform->setAutoFitToEnvelope(false); |
| 46 | |
| 47 | this->onToggleModes(); |
| 48 | |
| 49 | this->timer.start(TIMER_INTERVAL_MS); |
| 50 | this->processSocketData(); |
| 51 | |
| 52 | this->connectAll(); |
| 53 | |
| 54 | } |
| 55 | |
| 56 | // https://stackoverflow.com/questions/12966957/is-there-an-equivalent-in-c-of-phps-explode-function |
| 57 |
nothing calls this directly
no test coverage detected