2022-04-17 15:37:04 +03:00
|
|
|
#ifndef SETTINGSDIALOG_H
|
|
|
|
|
#define SETTINGSDIALOG_H
|
|
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
class SettingsDialog;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class SettingsDialog : public QDialog
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit SettingsDialog(QWidget *parent = nullptr);
|
|
|
|
|
~SettingsDialog();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Ui::SettingsDialog *ui;
|
2022-05-04 21:20:58 +03:00
|
|
|
QString mCustomAudioPath;
|
|
|
|
|
int mCustomAudioIdx;
|
2022-05-07 17:02:41 +03:00
|
|
|
bool mSkipAudioChangeEvent;
|
2022-04-17 15:37:04 +03:00
|
|
|
|
|
|
|
|
void init();
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void accept();
|
2022-05-04 21:20:58 +03:00
|
|
|
void onAudioIndexChanged(int idx);
|
2022-04-17 15:37:04 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // SETTINGSDIALOG_H
|