2022-07-09 22:07:14 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QComboBox>
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
|
|
class StreamDialog : public QWidget {
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit StreamDialog();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QComboBox *m_targetComboBox;
|
|
|
|
|
QComboBox *m_qualityResolutionComboBox;
|
|
|
|
|
QComboBox *m_qualityFPSComboBox;
|
|
|
|
|
|
|
|
|
|
Q_SIGNALS:
|
|
|
|
|
void requestedStreamStart(QString target, uint width, uint height,
|
|
|
|
|
uint frameRate);
|
|
|
|
|
|
2022-07-14 11:57:44 +02:00
|
|
|
public Q_SLOTS:
|
|
|
|
|
void updateTargets();
|
|
|
|
|
|
2022-07-09 22:07:14 +02:00
|
|
|
private Q_SLOTS:
|
|
|
|
|
void startStream();
|
|
|
|
|
};
|