19#ifndef SonivoxSettingsDialog_H
20#define SonivoxSettingsDialog_H
40 class SonivoxSettingsDialog;
43 class SonivoxSettingsDialog :
public QDialog
48 explicit SonivoxSettingsDialog(QWidget *parent =
nullptr);
49 ~SonivoxSettingsDialog();
52 void chkDriverProperties(
QSettings *settings);
55 static const QString QSTR_PREFERENCES;
56 static const QString QSTR_BUFFERTIME;
57 static const QString QSTR_REVERBTYPE;
58 static const QString QSTR_REVERBAMT;
59 static const QString QSTR_CHORUSTYPE;
60 static const QString QSTR_CHORUSAMT;
61 static const QString QSTR_SOUNDFONT;
62 static const QString QSTR_DATADIR;
63 static const QString QSTR_DATADIR2;
66 void accept()
override;
67 void showEvent(QShowEvent *event)
override;
68 void restoreDefaults();
69 void showFileDialog();
72 Ui::SonivoxSettingsDialog *ui;
The QSettings class provides persistent platform-independent application settings.