#pragma once #include #include #include "ui_captions.h" class CaptionsDialog : public QDialog { Q_OBJECT std::unique_ptr ui; public: CaptionsDialog(QWidget *parent); public slots: void on_source_currentIndexChanged(int idx); void on_enable_clicked(bool checked); void on_language_currentIndexChanged(int idx); };