| 
									
										
										
										
											2014-05-18 16:52:39 +01:00
										 |  |  | #ifndef INCLUDE_ADDPRESETDIALOG_H
 | 
					
						
							|  |  |  | #define INCLUDE_ADDPRESETDIALOG_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <QDialog>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-03-20 13:49:21 +01:00
										 |  |  | #include "export.h"
 | 
					
						
							| 
									
										
										
										
											2018-03-03 20:23:38 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-05-18 16:52:39 +01:00
										 |  |  | namespace Ui { | 
					
						
							|  |  |  | 	class AddPresetDialog; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-03-03 20:23:38 +01:00
										 |  |  | class SDRGUI_API AddPresetDialog : public QDialog { | 
					
						
							| 
									
										
										
										
											2014-05-18 16:52:39 +01:00
										 |  |  | 	Q_OBJECT | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | public: | 
					
						
							|  |  |  | 	explicit AddPresetDialog(const QStringList& groups, const QString& group, QWidget* parent = NULL); | 
					
						
							|  |  |  | 	~AddPresetDialog(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	QString group() const; | 
					
						
							|  |  |  | 	QString description() const; | 
					
						
							| 
									
										
										
										
											2018-01-05 11:45:20 +01:00
										 |  |  | 	void setGroup(const QString& group); | 
					
						
							|  |  |  | 	void setDescription(const QString& description); | 
					
						
							|  |  |  | 	void showGroupOnly(); | 
					
						
							|  |  |  | 	void setDialogTitle(const QString& title); | 
					
						
							|  |  |  | 	void setDescriptionBoxTitle(const QString& title); | 
					
						
							| 
									
										
										
										
											2014-05-18 16:52:39 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | private: | 
					
						
							|  |  |  | 	enum Audio { | 
					
						
							|  |  |  | 		ATDefault, | 
					
						
							|  |  |  | 		ATInterface, | 
					
						
							|  |  |  | 		ATDevice | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	Ui::AddPresetDialog* ui; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif // INCLUDE_ADDPRESETDIALOG_H
 |