| 33 | #include <QMenuBar> |
| 34 | |
| 35 | scopePlot::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 | |
| 65 | scopePlot::~scopePlot() |
| 66 | { |
nothing calls this directly
no outgoing calls
no test coverage detected