Code submissions have continually suffered from formatting inconsistencies that constantly have to be addressed. Using clang-format simplifies this by making code formatting more consistent, and allows automation of the code formatting so that maintainers can focus more on the code itself instead of code formatting.
35 lines
634 B
C++
35 lines
634 B
C++
#pragma once
|
|
|
|
#include <QDialog>
|
|
|
|
#include "ui_output.h"
|
|
#include "../../UI/properties-view.hpp"
|
|
|
|
class DecklinkOutputUI : public QDialog {
|
|
Q_OBJECT
|
|
private:
|
|
OBSPropertiesView *propertiesView;
|
|
OBSPropertiesView *previewPropertiesView;
|
|
|
|
public slots:
|
|
void StartOutput();
|
|
void StopOutput();
|
|
void PropertiesChanged();
|
|
|
|
void StartPreviewOutput();
|
|
void StopPreviewOutput();
|
|
void PreviewPropertiesChanged();
|
|
|
|
public:
|
|
std::unique_ptr<Ui_Output> ui;
|
|
DecklinkOutputUI(QWidget *parent);
|
|
|
|
void ShowHideDialog();
|
|
|
|
void SetupPropertiesView();
|
|
void SaveSettings();
|
|
|
|
void SetupPreviewPropertiesView();
|
|
void SavePreviewSettings();
|
|
};
|