File indexing completed on 2025-01-05 05:18:57

0001 // SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0002 //
0003 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 
0005 #pragma once
0006 #include "kllmwidgets_export.h"
0007 
0008 #include <QWidget>
0009 namespace KLLMWidgets
0010 {
0011 class KLLMModelComboBox;
0012 class KLLMWIDGETS_EXPORT KLLMConfigureWidget : public QWidget
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit KLLMConfigureWidget(QWidget *parent = nullptr);
0017     ~KLLMConfigureWidget() override;
0018 
0019     [[nodiscard]] int currentModel() const;
0020     void setCurrentModel(int index);
0021 
0022 private:
0023     KLLMModelComboBox *const mKLLMModelComboBox;
0024 };
0025 }