yolobs-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.

35 lines
682 B
C
Raw Permalink Normal View History

2019-07-27 12:47:10 +00:00
#pragma once
#include <QDialog>
#include "ui_output.h"
#include "../../UI/properties-view.hpp"
class DecklinkOutputUI : public QDialog {
2019-09-22 21:19:10 +00:00
Q_OBJECT
2019-07-27 12:47:10 +00:00
private:
OBSPropertiesView *propertiesView;
OBSPropertiesView *previewPropertiesView;
public slots:
2020-03-25 08:07:22 +00:00
void on_outputButton_clicked();
2019-07-27 12:47:10 +00:00
void PropertiesChanged();
2020-03-25 08:07:22 +00:00
void OutputStateChanged(bool);
2019-07-27 12:47:10 +00:00
2020-03-25 08:07:22 +00:00
void on_previewOutputButton_clicked();
2019-07-27 12:47:10 +00:00
void PreviewPropertiesChanged();
2020-03-25 08:07:22 +00:00
void PreviewOutputStateChanged(bool);
2019-07-27 12:47:10 +00:00
public:
std::unique_ptr<Ui_Output> ui;
DecklinkOutputUI(QWidget *parent);
void ShowHideDialog();
void SetupPropertiesView();
void SaveSettings();
void SetupPreviewPropertiesView();
void SavePreviewSettings();
};