SignalDisplay::SignalDisplay(QWidget *&parent):QWidget(parent) { secsPerDiv = 1.0/600.0; voltsPerDiv = 20; numSig=2; setPointsPerPlot(10); }
SignalDisplay::SignalDisplay (QWidget *parent) : QWidget(parent) { colorTrace1 = Qt::red; secsPerDiv = 1.0/600.0; voltsPerDiv = 20; setPointsPerPlot(10); traceWidth=1; nx = 10; ny = 10; autoScale=true; useSuffixs=true; showTextScale=true; showBars = true; showTraces = false; timeLine = new QTimeLine(10,0); timeLine->setCurveShape(QTimeLine::EaseInOutCurve); }
void SignalDisplay::setNumSig(int value) { numSig = value; setPointsPerPlot(pointsPerPlot); }