19 lines
429 B
C++
19 lines
429 B
C++
#include "dmplot.h"
|
|
|
|
DMPlot::DMPlot(const QString& title,QWidget* parent)
|
|
:QDockWidget(title,parent)
|
|
,plotWidget(new PlotWidget(this))
|
|
{
|
|
auto frame = new QFrame(this);
|
|
auto layout = new QVBoxLayout;
|
|
frame->setLayout(layout);
|
|
|
|
layout->setMargin(0);
|
|
layout->addWidget(plotWidget);
|
|
setWidget(frame);
|
|
|
|
connect(this,&DMPlot::appendValuetoPlotSGL,plotWidget,&PlotWidget::appentDataDisplaySlot);
|
|
|
|
}
|
|
|