123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #pragma once
- #include <QDialog>
- #include "ui_output.h"
- #include "../../UI/properties-view.hpp"
- namespace aja {
- class CardManager;
- }
- class AJAOutputUI : public QDialog {
- Q_OBJECT
- private:
- OBSPropertiesView *propertiesView;
- OBSPropertiesView *previewPropertiesView;
- OBSPropertiesView *miscPropertiesView;
- aja::CardManager *cardManager;
- public slots:
- void on_outputButton_clicked();
- void PropertiesChanged();
- void OutputStateChanged(bool);
- void on_previewOutputButton_clicked();
- void PreviewPropertiesChanged();
- void PreviewOutputStateChanged(bool);
- void MiscPropertiesChanged();
- public:
- std::unique_ptr<Ui_Output> ui;
- AJAOutputUI(QWidget *parent);
- void SetCardManager(aja::CardManager *cm);
- aja::CardManager *GetCardManager();
- void ShowHideDialog();
- void SaveSettings(const char *filename, obs_data_t *settings);
- void SetupPropertiesView();
- void SetupPreviewPropertiesView();
- void SetupMiscPropertiesView();
- };
|