#include <math.h>
#include <limits.h>
#include <stdio.h>
+#include <QSlider>
#include <QHBoxLayout>
#include <string.h>
#include "proxguiqt.h"
plotGridLines(&painter, plotRect);
//Start painting graph
- PlotGraph(GraphBuffer, GraphTraceLen,plotRect,infoRect,&painter,0);
- PlotGraph(s_Buff, GraphTraceLen,plotRect,infoRect,&painter,1);
if (showDemod && DemodBufferLen > 8) {
PlotDemod(DemodBuffer, DemodBufferLen,plotRect,infoRect,&painter,2,g_DemodStartIdx);
}
+ PlotGraph(s_Buff, GraphTraceLen,plotRect,infoRect,&painter,1);
+ PlotGraph(GraphBuffer, GraphTraceLen,plotRect,infoRect,&painter,0);
// End graph drawing
//Draw the cursors
Plot::Plot(QWidget *parent) : QWidget(parent), GraphStart(0), GraphPixelsPerPoint(1)
{
+ //Need to set this, otherwise we don't receive keypress events
setFocusPolicy( Qt::StrongFocus);
resize(600, 300);