| 28 | using namespace scopy; |
| 29 | |
| 30 | PlotBufferPreviewer::PlotBufferPreviewer(PlotWidget *p, BufferPreviewer *b, QWidget *parent) |
| 31 | : QWidget{parent} |
| 32 | , m_manualDataLimits(false) |
| 33 | , m_lastMin(p->xAxis()->visibleMin()) |
| 34 | { |
| 35 | setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
| 36 | QVBoxLayout *layout = new QVBoxLayout(this); |
| 37 | setLayout(layout); |
| 38 | layout->setMargin(0); |
| 39 | layout->setSpacing(0); |
| 40 | layout->addWidget(b); |
| 41 | |
| 42 | m_plot = p; |
| 43 | m_bufferPreviewer = b; |
| 44 | setupBufferPreviewer(); |
| 45 | } |
| 46 | |
| 47 | PlotBufferPreviewer::~PlotBufferPreviewer() {} |
| 48 |
nothing calls this directly
no test coverage detected