File indexing completed on 2024-12-22 04:28:24

0001 /*
0002   SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 
0004   SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include "speechtotext_private_export.h"
0009 #include <QWidget>
0010 class QComboBox;
0011 namespace TextSpeechToText
0012 {
0013 class TEXTSPEECHTOTEXT_TESTS_EXPORT SpeechToTextSelectDeviceWidget : public QWidget
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit SpeechToTextSelectDeviceWidget(QWidget *parent = nullptr);
0018     ~SpeechToTextSelectDeviceWidget() override;
0019 
0020     void loadSettings();
0021     void saveSettings();
0022 
0023     void initializeInput();
0024 
0025 private:
0026     QComboBox *const mDeviceComboBox;
0027 };
0028 }