DecklinkOutputUI.h 707 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. #include <QDialog>
  3. #include "ui_output.h"
  4. #include "../../UI/properties-view.hpp"
  5. class DecklinkOutputUI : public QDialog {
  6. Q_OBJECT
  7. private:
  8. OBSPropertiesView *propertiesView;
  9. OBSPropertiesView *previewPropertiesView;
  10. public slots:
  11. void StartOutput();
  12. void StopOutput();
  13. void PropertiesChanged();
  14. void OutputStateChanged(bool);
  15. void StartPreviewOutput();
  16. void StopPreviewOutput();
  17. void PreviewPropertiesChanged();
  18. void PreviewOutputStateChanged(bool);
  19. public:
  20. std::unique_ptr<Ui_Output> ui;
  21. DecklinkOutputUI(QWidget *parent);
  22. void ShowHideDialog();
  23. void SetupPropertiesView();
  24. void SaveSettings();
  25. void SetupPreviewPropertiesView();
  26. void SavePreviewSettings();
  27. };