#include "ConfigInfo.h" Param::Param(QObject* parent) : QObject(parent), m_pCurveWidget(nullptr), m_pVideoWidget(nullptr), m_pChannelGroup(nullptr) {} Param::~Param() { if (m_pChannelGroup) { delete m_pChannelGroup; m_pChannelGroup = nullptr; } } void Param::setCurveWidget(CurveWidget* curveWidget) { m_pCurveWidget = curveWidget; } CurveWidget* Param::getCurveWidget() { return m_pCurveWidget; } void Param::setVideoWidget(VideoWidget* videoWidget) { m_pVideoWidget = videoWidget; } VideoWidget* Param::getVideoWidget() { return m_pVideoWidget; }