MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / RMSViewTab

Method RMSViewTab

Components/RMSViewTab.cpp:34–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32using namespace SigDigger;
33
34RMSViewTab::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

Callers

nothing calls this directly

Calls 5

onToggleModesMethod · 0.95
processSocketDataMethod · 0.95
connectAllMethod · 0.95
setDataMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected