/*
  SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>

  SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once

#include "speechtotext_private_export.h"
#include <QWidget>
class QComboBox;
namespace TextSpeechToText
{
class TEXTSPEECHTOTEXT_TESTS_EXPORT SpeechToTextSelectDeviceWidget : public QWidget
{
    Q_OBJECT
public:
    explicit SpeechToTextSelectDeviceWidget(QWidget *parent = nullptr);
    ~SpeechToTextSelectDeviceWidget() override;

    void loadSettings();
    void saveSettings();

    void initializeInput();

private:
    QComboBox *const mDeviceComboBox;
};
}
