| 
									
										
										
										
											2022-07-09 22:07:14 +02:00
										 |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <QComboBox>
 | 
					
						
							|  |  |  | #include <QDialog>
 | 
					
						
							| 
									
										
										
										
											2022-11-22 16:35:47 +01:00
										 |  |  | #include <QGroupBox>
 | 
					
						
							| 
									
										
										
										
											2022-07-09 22:07:14 +02:00
										 |  |  | #include <QWidget>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-15 02:21:41 +01:00
										 |  |  | class StreamDialog : public QDialog { | 
					
						
							| 
									
										
										
										
											2022-07-09 22:07:14 +02:00
										 |  |  |   Q_OBJECT | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | public: | 
					
						
							| 
									
										
										
										
											2023-02-15 02:21:41 +01:00
										 |  |  |   explicit StreamDialog(QWidget *parent = nullptr); | 
					
						
							| 
									
										
										
										
											2022-07-09 22:07:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | private: | 
					
						
							|  |  |  |   QComboBox *m_targetComboBox; | 
					
						
							| 
									
										
										
										
											2022-11-22 16:35:47 +01:00
										 |  |  |   QComboBox *m_resolutionComboBox; | 
					
						
							|  |  |  |   QComboBox *m_framerateComboBox; | 
					
						
							|  |  |  |   QGroupBox *m_videoGroupBox; | 
					
						
							|  |  |  |   QGroupBox *m_audioGroupBox; | 
					
						
							| 
									
										
										
										
											2022-07-09 22:07:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | Q_SIGNALS: | 
					
						
							| 
									
										
										
										
											2023-02-12 17:20:33 +01:00
										 |  |  |   void requestedStreamStart(bool video, bool audio, int width, int height, | 
					
						
							|  |  |  |                             int frameRate, QString target); | 
					
						
							| 
									
										
										
										
											2022-07-09 22:07:14 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											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(); | 
					
						
							|  |  |  | }; |