This commit is contained in:
Chenwenxuan
2024-03-06 14:54:30 +08:00
commit edac2715f0
1525 changed files with 809982 additions and 0 deletions

18
dmplot/ui/dmplot.cpp Normal file
View File

@@ -0,0 +1,18 @@
#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);
}