2014-05-18 15:52:39 +00:00
|
|
|
#ifndef INCLUDE_ADDPRESETDIALOG_H
|
|
|
|
#define INCLUDE_ADDPRESETDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2018-03-20 12:49:21 +00:00
|
|
|
#include "export.h"
|
2018-03-03 19:23:38 +00:00
|
|
|
|
2014-05-18 15:52:39 +00:00
|
|
|
namespace Ui {
|
|
|
|
class AddPresetDialog;
|
|
|
|
}
|
|
|
|
|
2018-03-03 19:23:38 +00:00
|
|
|
class SDRGUI_API AddPresetDialog : public QDialog {
|
2014-05-18 15:52:39 +00: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 10:45:20 +00: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 15:52:39 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
enum Audio {
|
|
|
|
ATDefault,
|
|
|
|
ATInterface,
|
|
|
|
ATDevice
|
|
|
|
};
|
|
|
|
|
|
|
|
Ui::AddPresetDialog* ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_ADDPRESETDIALOG_H
|