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