2018-09-25 17:52:31 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
|
|
#include "ui_output.h"
|
|
|
|
|
#include "../../UI/properties-view.hpp"
|
|
|
|
|
|
|
|
|
|
class DecklinkOutputUI : public QDialog {
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
private:
|
|
|
|
|
OBSPropertiesView *propertiesView;
|
2018-12-09 19:31:40 -06:00
|
|
|
OBSPropertiesView *previewPropertiesView;
|
2018-09-25 17:52:31 -05:00
|
|
|
|
|
|
|
|
public slots:
|
2020-02-25 03:30:40 -06:00
|
|
|
void on_outputButton_clicked();
|
2018-09-25 17:52:31 -05:00
|
|
|
void PropertiesChanged();
|
2019-07-16 21:30:38 -05:00
|
|
|
void OutputStateChanged(bool);
|
|
|
|
|
|
2020-02-25 03:30:40 -06:00
|
|
|
void on_previewOutputButton_clicked();
|
2018-12-09 19:31:40 -06:00
|
|
|
void PreviewPropertiesChanged();
|
2019-07-16 21:30:38 -05:00
|
|
|
void PreviewOutputStateChanged(bool);
|
|
|
|
|
|
2018-09-25 17:52:31 -05:00
|
|
|
public:
|
|
|
|
|
std::unique_ptr<Ui_Output> ui;
|
|
|
|
|
DecklinkOutputUI(QWidget *parent);
|
|
|
|
|
|
|
|
|
|
void ShowHideDialog();
|
2018-12-09 19:31:40 -06:00
|
|
|
|
2018-09-25 17:52:31 -05:00
|
|
|
void SetupPropertiesView();
|
|
|
|
|
void SaveSettings();
|
2018-12-09 19:31:40 -06:00
|
|
|
|
|
|
|
|
void SetupPreviewPropertiesView();
|
|
|
|
|
void SavePreviewSettings();
|
2018-09-25 17:52:31 -05:00
|
|
|
};
|