obs-studio/UI/frontend-plugins/decklink-output-ui/DecklinkOutputUI.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
682 B
C
Raw Normal View History

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:
void on_outputButton_clicked();
2018-09-25 17:52:31 -05:00
void PropertiesChanged();
void OutputStateChanged(bool);
void on_previewOutputButton_clicked();
2018-12-09 19:31:40 -06:00
void PreviewPropertiesChanged();
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
};