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 0007 #pragma once 0008 #include "speechtotext_private_export.h" 0009 #include <QWidget> 0010 namespace TextSpeechToText 0011 { 0012 class SpeechToTextComboBoxWidget; 0013 class SpeechToTextSelectDeviceWidget; 0014 /** 0015 * @brief The SpeechToTextConfigureWidget class 0016 * @author Laurent Montel <montel@kde.org> 0017 */ 0018 class TEXTSPEECHTOTEXT_TESTS_EXPORT SpeechToTextConfigureWidget : public QWidget 0019 { 0020 Q_OBJECT 0021 public: 0022 explicit SpeechToTextConfigureWidget(QWidget *parent = nullptr); 0023 ~SpeechToTextConfigureWidget() override; 0024 void loadSettings(); 0025 void saveSettings(); 0026 0027 private: 0028 SpeechToTextComboBoxWidget *const mSpeechToTextComboBox; 0029 SpeechToTextSelectDeviceWidget *const mSpeechToTextDevice; 0030 }; 0031 }