mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-03 06:54:17 +01:00
input: Start refactoring InputSource to be able to open/close files
This commit is contained in:
@@ -31,8 +31,9 @@
|
||||
#include "memory_source.h"
|
||||
#include "traceplot.h"
|
||||
|
||||
PlotView::PlotView() : cursors(this), viewRange({0, 0})
|
||||
PlotView::PlotView(InputSource *input) : cursors(this), viewRange({0, 0})
|
||||
{
|
||||
mainSampleSource = input;
|
||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||
enableCursors(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user