discord-awesomeaudio/src/streamdialog.h

31 lines
606 B
C
Raw Normal View History

2022-07-09 16:07:14 -04:00
#pragma once
#include <QComboBox>
#include <QDialog>
2022-11-22 10:35:47 -05:00
#include <QGroupBox>
2022-07-09 16:07:14 -04:00
#include <QWidget>
2023-02-14 20:21:41 -05:00
class StreamDialog : public QDialog {
2022-07-09 16:07:14 -04:00
Q_OBJECT
public:
2023-02-14 20:21:41 -05:00
explicit StreamDialog(QWidget *parent = nullptr);
2022-07-09 16:07:14 -04:00
private:
QComboBox *m_targetComboBox;
2022-11-22 10:35:47 -05:00
QComboBox *m_resolutionComboBox;
QComboBox *m_framerateComboBox;
QGroupBox *m_videoGroupBox;
QGroupBox *m_audioGroupBox;
2022-07-09 16:07:14 -04:00
Q_SIGNALS:
void requestedStreamStart(bool video, bool audio, int width, int height,
int frameRate, QString target);
2022-07-09 16:07:14 -04:00
2022-07-14 05:57:44 -04:00
public Q_SLOTS:
void updateTargets();
2022-07-09 16:07:14 -04:00
private Q_SLOTS:
void startStream();
};