You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ConfigInfo.cpp 596 B

123456789101112131415161718192021222324252627282930
  1. #include "ConfigInfo.h"
  2. Param::Param(QObject* parent)
  3. : QObject(parent), m_pCurveWidget(nullptr), m_pVideoWidget(nullptr), m_pChannelGroup(nullptr)
  4. {}
  5. Param::~Param()
  6. {
  7. if (m_pChannelGroup) {
  8. delete m_pChannelGroup;
  9. m_pChannelGroup = nullptr;
  10. }
  11. }
  12. void Param::setCurveWidget(CurveWidget* curveWidget)
  13. {
  14. m_pCurveWidget = curveWidget;
  15. }
  16. CurveWidget* Param::getCurveWidget()
  17. {
  18. return m_pCurveWidget;
  19. }
  20. void Param::setVideoWidget(VideoWidget* videoWidget)
  21. {
  22. m_pVideoWidget = videoWidget;
  23. }
  24. VideoWidget* Param::getVideoWidget()
  25. {
  26. return m_pVideoWidget;
  27. }