2020-01-24 04:51:13 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
|
|
|
|
#include "ui_audiosettingswidget.h"
|
|
|
|
|
|
|
|
class QtHostInterface;
|
2020-06-06 15:30:05 +00:00
|
|
|
class SettingsDialog;
|
2020-01-24 04:51:13 +00:00
|
|
|
|
|
|
|
class AudioSettingsWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2020-06-06 15:30:05 +00:00
|
|
|
explicit AudioSettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog);
|
2020-01-24 04:51:13 +00:00
|
|
|
~AudioSettingsWidget();
|
|
|
|
|
2020-05-09 14:44:56 +00:00
|
|
|
private Q_SLOTS:
|
|
|
|
void updateBufferingLabel();
|
|
|
|
void updateVolumeLabel();
|
|
|
|
|
2020-01-24 04:51:13 +00:00
|
|
|
private:
|
|
|
|
Ui::AudioSettingsWidget m_ui;
|
|
|
|
|
|
|
|
QtHostInterface* m_host_interface;
|
|
|
|
};
|