MCPcopy Create free account
hub / github.com/ON4QZ/QSSTV / scopePlot

Method scopePlot

src/scope/scopeplot.cpp:35–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33#include <QMenuBar>
34
35scopePlot::scopePlot(QString title, QWidget *parent) : QMainWindow(parent)
36{
37 wd=new QWidget(this);
38 ui.setupUi(wd);
39 mrk1=0;
40 mrk2=0;
41 initActions();
42 initMenuBar();
43 initToolBar();
44 initStatusBar();
45 curve1 = new QwtPlotCurve("Curve 1");
46 curve2 = new QwtPlotCurve("Curve 2");
47 curve3 = new QwtPlotCurve("Curve 3");
48 curve4 = new QwtPlotCurve("Curve 4");
49
50 xScaleMul=1.;
51 xPrimeScaleMul=1.;
52 xAltScaleMul=1;
53 xAxisTitle="Samples";
54 xAltAxisTitle="Time (s)";
55 toggleMarker=false;
56
57 showCrv1=true;
58 showCrv2=true;
59 showCrv3=true;
60 showCrv4=true;
61 setWindowTitle("Scope " +APPNAME);
62 init(title);
63}
64
65scopePlot::~scopePlot()
66{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected